@@ -200,7 +200,7 @@ def test_sequential_gaussian_simulation_ordinary_kriging():
200200
201201 # ordinary kriging
202202 sim = gs .Interpolation .okrige_sgs (
203- Pred_grid_xy , df_grid , 'X' , 'Y' , 'Z' , k , vario , rad , rng = rng )
203+ Pred_grid_xy , df_grid , 'X' , 'Y' , 'Z' , k , vario , rad , seed = rng )
204204
205205 # as we set the numpy random seed, the simulation is deterministic and we can compare to the following (rounded) results
206206 expected_sim = np .array ([444.9 , 415.8 , - 23.7 , 301.2 , 263.3 , 374.9 , - 6.9 , 346.5 ,
@@ -273,7 +273,7 @@ def test_sequential_gaussian_simulation_simple_kriging():
273273
274274 # simple kriging
275275 sim = gs .Interpolation .skrige_sgs (
276- Pred_grid_xy , df_grid , 'X' , 'Y' , 'Z' , k , vario , rad , rng = rng )
276+ Pred_grid_xy , df_grid , 'X' , 'Y' , 'Z' , k , vario , rad , seed = rng )
277277
278278 # as we set the numpy random seed, the simulation is deterministic and we can compare to the following (rounded) results
279279 expected_sim = np .array ([445.6 , 416.4 , - 27.6 , 300.8 , 263.4 , 352.5 , - 7.1 , 341.7 ,
0 commit comments