Skip to content

Commit 57278a3

Browse files
committed
fix interpolation tests
1 parent a4a5b25 commit 57278a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/operators/test_interpolate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_set_training_parameters(self, s=10, p=2, r=4):
128128
"parameter values must be scalars or 1D arrays"
129129
)
130130

131-
mu = np.empty((s, p))
131+
mu = np.random.random((s, p))
132132
op.set_training_parameters(mu)
133133
assert np.all(op.training_parameters == mu)
134134
assert op.state_dimension is None

0 commit comments

Comments
 (0)