Skip to content

Commit e4dffa7

Browse files
authored
fix imports in the bc_demo test (#261)
1 parent 7cea4ce commit e4dffa7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/mesh/bc_demo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# test the boundary fill routine
22

33

4-
import mesh.boundary as bnd
5-
import mesh.patch
4+
import pyro.mesh.boundary as bnd
5+
import pyro.mesh.patch as patch
66
import numpy as np
77

88

99
def doit():
1010

11-
myg = mesh.patch.Grid2d(4, 4, ng=2, xmax=1.0, ymax=1.0)
11+
myg = patch.Grid2d(4, 4, ng=2, xmax=1.0, ymax=1.0)
1212

13-
mydata = mesh.patch.CellCenterData2d(myg, dtype=np.int)
13+
mydata = patch.CellCenterData2d(myg, dtype=np.int32)
1414

1515
bco = bnd.BC(xlb="outflow", xrb="outflow",
1616
ylb="outflow", yrb="outflow")

0 commit comments

Comments
 (0)