File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ def test_IMI(self):
106106 D , nns = index .search (xq , 10 )
107107 n_ok = (nns == gt_nns ).sum ()
108108
109- # should return 170
110- self .assertGreater (n_ok , 169 )
109+ # Should return 166 on mac, and 170 on linux.
110+ self .assertGreater (n_ok , 165 )
111111
112112 ############# replace with explicit assignment indexes
113113 nbits = 5
@@ -132,7 +132,7 @@ def test_IMI(self):
132132 n_ok = (nns == gt_nns ).sum ()
133133
134134 # should return the same result
135- self .assertGreater (n_ok , 169 )
135+ self .assertGreater (n_ok , 165 )
136136
137137
138138 def test_IMI_2 (self ):
@@ -163,8 +163,7 @@ def test_IMI_2(self):
163163 n_ok = (nns == gt_nns ).sum ()
164164
165165 # should return the same result
166- self .assertGreater (n_ok , 169 )
167-
166+ self .assertGreater (n_ok , 165 )
168167
169168
170169
You can’t perform that action at this time.
0 commit comments