removes unused lines
This commit is contained in:
parent
952f8b97a5
commit
6c2bd5b577
1 changed files with 0 additions and 5 deletions
|
@ -1,6 +1,3 @@
|
|||
import numpy as np
|
||||
|
||||
|
||||
def find_maxima(x):
|
||||
"""Find local maxima of x.
|
||||
|
||||
|
@ -43,8 +40,6 @@ def check_first_element(x, maxima):
|
|||
def check_last_element(x, maxima):
|
||||
if x[-1] > x[-2]:
|
||||
maxima.append(len(x) - 1)
|
||||
print("hello")
|
||||
np.array([])
|
||||
return maxima
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue