We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 564b3ff commit 174225bCopy full SHA for 174225b
kneed/shape_detector.py
@@ -17,5 +17,4 @@ def find_shape(x, y):
17
return 'increasing', 'convex'
18
if p[0] <= 0 and q > 0:
19
return 'decreasing', 'concave'
20
- else:
21
- return 'decreasing', 'convex'
+ return 'decreasing', 'convex'
0 commit comments