Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Sep 8, 2024
1 parent cfc0677 commit eda07cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyro/tests/test_simulation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pyro.mesh.boundary as bnd
import pyro.simulation_null as sn
import pyro.simulation_null as sim
from pyro.mesh import patch
from pyro.util import runparams

Expand All @@ -23,7 +23,7 @@ def setup_method(self):
self.rp.params["driver.max_dt_change"] = 1.2
self.rp.params["driver.fix_dt"] = -1.0

self.sim = sn.NullSimulation("test", "test", self.rp)
self.sim = sim.NullSimulation("test", "test", None, self.rp)

myg = patch.Grid2d(8, 16)
myd = patch.CellCenterData2d(myg)
Expand Down Expand Up @@ -78,7 +78,7 @@ def test_grid_setup():
rp.params["mesh.ymin"] = 0.0
rp.params["mesh.ymax"] = 2.0

g = sn.grid_setup(rp)
g = sim.grid_setup(rp)

assert g.nx == 8
assert g.ny == 16
Expand Down

0 comments on commit eda07cf

Please sign in to comment.