Skip to content

Commit

Permalink
fix name catch for simpson backward
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Jan 2, 2024
1 parent 07a0b64 commit ba2e234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerosandbox/numpy/integrate_discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def integrate_discrete_intervals(
degree = 2
remaining_endpoint_intervals = (0, 1)

elif method in ["backward_simpson", "backward_simpsons"]:
elif method in ["backward_simpson", "simpson_backward"]:
x1 = x[:-2]
x2 = x[1:-1]
x3 = x[2:]
Expand Down

0 comments on commit ba2e234

Please sign in to comment.