Skip to content

Commit c3b9a0b

Browse files
committed
Loosen additional SMACC unit test tolerance>
1 parent bff079a commit c3b9a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectral/tests/dimensionality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_smacc_max_residual_norm(self):
110110
S, F, R = spy.smacc(scaled_data, 9, 0.8)
111111
data_shape = scaled_data.shape
112112
H = scaled_data.reshape(data_shape[0] * data_shape[1], data_shape[2])
113-
assert_allclose(np.matmul(F, S) + R, H)
113+
assert(np.allclose(np.matmul(F, S) + R, H))
114114
assert(np.min(F) == 0.0)
115115
residual_norms = np.einsum('ij,ij->i', R, R)
116116
assert(np.max(residual_norms) <= 0.8)

0 commit comments

Comments
 (0)