Skip to content

Commit

Permalink
chore(typo): #80
Browse files Browse the repository at this point in the history
  • Loading branch information
cmp0xff committed Aug 21, 2024
1 parent 173698f commit 7d8f77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hamilflow/models/harmonic_oscillator.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def _x(self, t: "Sequence[float] | npt.ArrayLike") -> npt.ArrayLike:
x = self._x_critical_damped(t)
else:
raise ValueError(
"System type is not damped harmonic oscillator: {self.system.type}",
f"System type is not damped harmonic oscillator: {self.system.type}",
)

return x
Expand Down

0 comments on commit 7d8f77e

Please sign in to comment.