Skip to content

Commit e6c083c

Browse files
edenoclaude
andcommitted
Add missing random seed to test_output_shape_1d
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3ed1182 commit e6c083c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/non_local_detector/tests/test_analysis_posterior.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def test_multiple_timesteps(self):
7878

7979
def test_output_shape_1d(self):
8080
"""1D posterior should return (n_time, 1)."""
81+
np.random.seed(42)
8182
positions = np.linspace(0, 10, 20)
8283
probs = np.random.dirichlet(np.ones(20), size=3)
8384
posterior = xr.DataArray(

0 commit comments

Comments
 (0)