Update src/mlpack/tests/main_tests/sparse_coding_test.cpp

Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
Omar Shrit
2024-02-28 12:35:31 +01:00
committed by GitHub
co-authored by Ryan Curtin
parent 9927b98609
commit 5102bde812
@@ -423,8 +423,7 @@ TEST_CASE_METHOD(SparseCodingTestFixture, "SparseCodingDiffMaxItrTest",
REQUIRE(accu(dictionary ==
params.Get<arma::mat>("dictionary")) < dictionary.n_elem);
REQUIRE(accu(codes ==
params.Get<arma::mat>("codes")) < codes.n_elem);
REQUIRE(accu(codes == params.Get<arma::mat>("codes")) < codes.n_elem);
}
/**