Skip to content
New issue

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

cumtrapz not working as expected #3067

Closed
francisco-dlp opened this issue Nov 15, 2013 · 1 comment
Closed

cumtrapz not working as expected #3067

francisco-dlp opened this issue Nov 15, 2013 · 1 comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.integrate
Milestone

Comments

@francisco-dlp
Copy link
Contributor

cumtrapz raises an exception when x is not None and axis is not 0 or -1. For example. the following code raises an exception:

import numpy as np
import scipy.integrate
scipy.integrate.cumtrapz(np.ones((2, 3, 4)), x=np.arange(4), axis=2)
@rgommers
Copy link
Member

Fixed by gh-3067.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.integrate
Projects
None yet
Development

No branches or pull requests

2 participants