Skip to content

Commit

Permalink
change default constrain_derivatives to trapezoidal
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Jan 2, 2024
1 parent d8bf3b9 commit 07a0b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerosandbox/dynamics/point_mass/common_point_mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def state_derivatives(self) -> Dict[str, Union[float, np.ndarray]]:
def constrain_derivatives(self,
opti: Opti,
time: np.ndarray,
method: str = "midpoint",
method: str = "trapezoidal",
which: Union[str, List[str], Tuple[str]] = "all",
_stacklevel=1,
):
Expand Down

0 comments on commit 07a0b64

Please sign in to comment.