cjekel / similarity_measures

Quantify the difference between two arbitrary curves in space
MIT License
245 stars 41 forks source link

bug in interpolation with area method when purely vertical interpolation #16

Open cjekel opened 3 years ago

cjekel commented 3 years ago

User reported area between curves will return strange results when there is a purely vertical interpolation. For instance if interpolated point needs to occur when x doesn't change at all between the two points.

Need to investigate, fix, and add test case.