Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 3, 2024
1 parent ddf824b commit ae7d672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/call_ivp_from_python_burgers_eq.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, N=101):
def compute_rhs(self, __, u: np.ndarray, udot: np.ndarray, ___) -> None:
dx = self.dx

f = 0.5 * u ** 2
f = 0.5 * u**2
local_ss = np.maximum(np.abs(u[0:-1]), np.abs(u[1:]))
local_ss = np.max(np.abs(u))
f_hat = 0.5 * (f[0:-1] + f[1:]) - 0.5 * local_ss * (u[1:] - u[0:-1])
Expand Down

0 comments on commit ae7d672

Please sign in to comment.