Skip to content

Commit c5c4ecf

Browse files
committed
update tests
1 parent 1309179 commit c5c4ecf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_interpolation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_ordinary_kriging():
3535
Pred_grid_xy = gs.Gridding.prediction_grid(xmin, xmax, ymin, ymax, res)
3636

3737
# set random seed
38-
rng = np.ranodm.default_rng(42)
38+
rng = np.random.default_rng(42)
3939

4040
# pick ("random") points from grid
4141
index_points = rng.choice(
@@ -102,7 +102,7 @@ def test_simple_kriging():
102102
Pred_grid_xy = gs.Gridding.prediction_grid(xmin, xmax, ymin, ymax, res)
103103

104104
# set random seed
105-
rng = np.ranodm.default_rng(42)
105+
rng = np.random.default_rng(42)
106106

107107
# pick ("random") points from grid
108108
index_points = rng.choice(
@@ -176,7 +176,7 @@ def test_sequential_gaussian_simulation_ordinary_kriging():
176176
# this line can be removed, if we decide to use numpy.random.shuffle instead of random.shuffle
177177
# random.seed(42)
178178
# np.random.seed(42)
179-
rng = np.ranodm.default_rng(42)
179+
rng = np.random.default_rng(42)
180180

181181
# pick ("random") points from grid
182182
index_points = rng.choice(
@@ -249,7 +249,7 @@ def test_sequential_gaussian_simulation_simple_kriging():
249249
# this line can be removed, if we decide to use numpy.random.shuffle instead of random.shuffle
250250
# random.seed(42)
251251
# np.random.seed(42)
252-
rng = np.ranodm.default_rng(42)
252+
rng = np.random.default_rng(42)
253253

254254
# pick ("random") points from grid
255255
index_points = rng.choice(

0 commit comments

Comments
 (0)