From ba2e2341c6d9212bee742558991e6f694263b86d Mon Sep 17 00:00:00 2001 From: Peter Sharpe Date: Tue, 2 Jan 2024 17:37:37 +0100 Subject: [PATCH] fix name catch for simpson backward --- aerosandbox/numpy/integrate_discrete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aerosandbox/numpy/integrate_discrete.py b/aerosandbox/numpy/integrate_discrete.py index 5787dec1..65271194 100644 --- a/aerosandbox/numpy/integrate_discrete.py +++ b/aerosandbox/numpy/integrate_discrete.py @@ -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:]