Skip to content

Commit 3e88cd9

Browse files
authored
Pin random state for test_estimate_uncertainty (#647)
1 parent 50afb9c commit 3e88cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_dem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def test_estimate_uncertainty(self) -> None:
392392
dem_ref = DEM(fn_ref)
393393
dem_tba = DEM(fn_tba)
394394

395-
sig_h, corr_sig = dem_tba.estimate_uncertainty(dem_ref)
395+
sig_h, corr_sig = dem_tba.estimate_uncertainty(dem_ref, random_state=42)
396396

397397
assert isinstance(sig_h, gu.Raster)
398398
assert callable(corr_sig)

0 commit comments

Comments
 (0)