We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6392627 commit ea853bbCopy full SHA for ea853bb
1 file changed
tests/test_aggregation.py
@@ -142,8 +142,8 @@ def test_optimize_sigma_within_default_range(self):
142
mrom = MockMROM(self.db, n_roms=2)
143
agg = Aggregation()
144
sigma = agg._optimize_sigma(mrom)
145
- self.assertGreaterEqual(float(sigma), 1e-5)
146
- self.assertLessEqual(float(sigma), 1e-2)
+ self.assertGreaterEqual(float(np.squeeze(sigma)), 1e-5)
+ self.assertLessEqual(float(np.squeeze(sigma)), 1e-2)
147
148
def test_aggregation_no_fit_function(self):
149
0 commit comments