Skip to content

Commit

Permalink
Pin random state for test_estimate_uncertainty (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet authored Nov 13, 2024
1 parent 50afb9c commit 3e88cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def test_estimate_uncertainty(self) -> None:
dem_ref = DEM(fn_ref)
dem_tba = DEM(fn_tba)

sig_h, corr_sig = dem_tba.estimate_uncertainty(dem_ref)
sig_h, corr_sig = dem_tba.estimate_uncertainty(dem_ref, random_state=42)

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

0 comments on commit 3e88cd9

Please sign in to comment.