From 70959011cca2f3c3e0c56ee39e811bb8d246ef75 Mon Sep 17 00:00:00 2001 From: Peter Sharpe Date: Wed, 3 Jan 2024 11:26:24 +0100 Subject: [PATCH] docs --- aerosandbox/numpy/integrate_discrete.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aerosandbox/numpy/integrate_discrete.py b/aerosandbox/numpy/integrate_discrete.py index 5ab87cfe..1e721b6c 100644 --- a/aerosandbox/numpy/integrate_discrete.py +++ b/aerosandbox/numpy/integrate_discrete.py @@ -292,7 +292,7 @@ def integrate_discrete_squared_curvature( ### The following section computes the integral of the squared second derivative of the cubic spline interpolant ### for the "middle" intervals (i.e. not the first or last intervals). - ### Code is generated by sympy; here x_i represent common subexpressions. + ### Code is generated by sympy; here s_i variables represent common subexpressions. s0 = hm ** 2 s1 = hp ** 2 s2 = h + hm @@ -563,4 +563,3 @@ def f(x): print(f"\nintegrate_discrete_intervals + np.gradient: {integral}") print(f"error: {integral - exact}") -