Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Jan 3, 2024
1 parent 6a2e6cb commit 7095901
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aerosandbox/numpy/integrate_discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -563,4 +563,3 @@ def f(x):

print(f"\nintegrate_discrete_intervals + np.gradient: {integral}")
print(f"error: {integral - exact}")

0 comments on commit 7095901

Please sign in to comment.