Skip to content

Commit 100859f

Browse files
committed
Linting
1 parent c7c2556 commit 100859f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pySDC/helpers/pySDC_as_gusto_time_discretization.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,7 @@ def apply(self, x_out, x_in):
219219
# update time of the Gusto stepper.
220220
# After this step, the Gusto stepper updates its time again to arrive at the correct time
221221
if self.timestepper is not None:
222-
t = float(self.t)
223-
t-= float(self.dt)
224-
self.timestepper.t = fd.Constant(t)
222+
self.timestepper.t = fd.Constant(float(self.t) - float(self.dt))
225223

226224
self.dt = fd.Constant(self.level.params.dt * self.n_steps)
227225

0 commit comments

Comments
 (0)