Skip to content

Commit

Permalink
fix bug in np.gradient with multi-axis gradients
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Jan 17, 2024
1 parent f6fa352 commit 818fa08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerosandbox/numpy/calculus.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def gradient(
return [
gradient(
f,
*varargs,
varargs[axis_i],
axis=axis_i,
edge_order=edge_order
)
Expand Down

0 comments on commit 818fa08

Please sign in to comment.