Skip to content

Commit 174225b

Browse files
author
zhongminhu
committed
add the functional of detecting curve shape.
1 parent 564b3ff commit 174225b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kneed/shape_detector.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ def find_shape(x, y):
1717
return 'increasing', 'convex'
1818
if p[0] <= 0 and q > 0:
1919
return 'decreasing', 'concave'
20-
else:
21-
return 'decreasing', 'convex'
20+
return 'decreasing', 'convex'

0 commit comments

Comments
 (0)