Skip to content

Commit

Permalink
fix warning format
Browse files Browse the repository at this point in the history
  • Loading branch information
jbial committed Sep 26, 2024
1 parent 17164e0 commit ae27b8f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dysts/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ def transform_ic(
self.ic = transform_fn(self.ic, system=self) # type: ignore

warnings.warn(
"""Changing the initial condition makes other estimated parameters
such as `period`, `mean`, etc invalid!"""
"Changing the initial condition makes other estimated parameters such as `period`, `mean`, etc invalid!"
)

def transform_params(
Expand All @@ -144,8 +143,7 @@ def transform_params(
)

warnings.warn(
"""Changing the systems parameters makes all other estimated parameters
such as `period`, `maximum_lyapunov_estimated`, `mean`, etc invalid!"""
"Changing the systems parameters makes all other estimated parameters such as `period`, `maximum_lyapunov_estimated`, `mean`, etc invalid!"
)

def set_statistics(self, mean: np.ndarray, std: np.ndarray) -> None:
Expand Down

0 comments on commit ae27b8f

Please sign in to comment.