Minor change

This commit is contained in:
Prabhat
2018-03-03 14:56:57 +05:30
parent f72d8c5594
commit cfe2c195ea
+5 -1
View File
@@ -231,7 +231,11 @@ BOOST_AUTO_TEST_CASE(KmClusteringEmptyClustersCheck)
ResetKmSettings();
BOOST_REQUIRE_GT(arma::accu(killEmptyOutput != allowEmptyOutput), 1);
if (killEmptyOutput.n_elem == allowEmptyOutput.n_elem)
{
BOOST_REQUIRE_GT(arma::accu(killEmptyOutput != allowEmptyOutput), 1);
BOOST_REQUIRE_GT(arma::accu(killEmptyOutput != normalOutput), 1);
}
BOOST_REQUIRE_GT(arma::accu(normalOutput != allowEmptyOutput), 1);
}