We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to process a time-axis where the first element is already the zero-time, the function crashes.
The text was updated successfully, but these errors were encountered:
correctzerotime: fixed bug when zero-time is at start/end of array (#24)
70c0966
The bug was caused by non-Python indexing in an if-statement (a leftover from the MATLAB-Python porting)
# Determine location of maximum idxmax = np.argmax(V_) - if idxmax!=1 and idxmax!=len(V): + if idxmax!=0 and idxmax!=len(V_)-1:
Added two new tests to test the that bug is gone.
Sorry, something went wrong.
luisfabib
No branches or pull requests
When trying to process a time-axis where the first element is already the zero-time, the function crashes.
The text was updated successfully, but these errors were encountered: