Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user