Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Mar 19, 2024
1 parent 0686b5e commit 749d96c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aerosandbox/optimization/opti.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,8 +1161,8 @@ def constrain_derivative(self,
from aerosandbox.numpy.integrate_discrete import integrate_discrete_intervals

integrals = integrate_discrete_intervals(
f = derivative,
x = with_respect_to,
f=derivative,
x=with_respect_to,
multiply_by_dx=True,
method=method
)
Expand All @@ -1173,6 +1173,7 @@ def constrain_derivative(self,

return duals


class OptiSol:
def __init__(self,
opti: Opti,
Expand Down

0 comments on commit 749d96c

Please sign in to comment.