We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a714220 commit 5aa81c4Copy full SHA for 5aa81c4
spectral/tests/dimensionality.py
@@ -62,15 +62,15 @@ def test_ppi_centered(self):
62
assert(np.all(p == p2))
63
64
def test_smacc_minimal(self):
65
- '''Tests smacc correcntess on minimal example.'''
+ '''Tests smacc correctness on minimal example.'''
66
H = np.array([
67
[1.0, 0.0, 0.0],
68
[0.0, 1.0, 0.0],
69
[1.0, 1.0, 0.0],
70
[0.0, 1.0, 1.0]
71
])
72
S, F, R = spy.smacc(H)
73
- assert_allclose(np.matmul(F, S) + R, H)
+ assert(np.allclose(np.matmul(F, S) + R, H))
74
assert(np.min(F) == 0.0)
75
expected_S = np.array([
76
# First two longer ones.
0 commit comments