[mlpack-git] master: Braindead refactoring strikes again. (5858f46)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Dec 2 16:21:26 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/f11208f90fe2b0dddd32c966d39efb72a4da1db8...5858f46c3113651f598596bade89c1b838410652

>---------------------------------------------------------------

commit 5858f46c3113651f598596bade89c1b838410652
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Dec 2 13:21:14 2015 -0800

    Braindead refactoring strikes again.


>---------------------------------------------------------------

5858f46c3113651f598596bade89c1b838410652
 src/mlpack/tests/maximal_inputs_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/tests/maximal_inputs_test.cpp b/src/mlpack/tests/maximal_inputs_test.cpp
index a65bba1..62062e1 100644
--- a/src/mlpack/tests/maximal_inputs_test.cpp
+++ b/src/mlpack/tests/maximal_inputs_test.cpp
@@ -30,8 +30,8 @@ arma::mat CreateMaximalInput()
 
 void TestResults(const arma::mat&actualResult, const arma::mat& expectResult)
 {
-  BOOST_REQUIRE_EQUAL(expectResult.n_rows == actualResult.n_rows);
-  BOOST_REQUIRE_EQUAL(expectResult.n_cols == actualResult.n_cols);
+  BOOST_REQUIRE_EQUAL(expectResult.n_rows, actualResult.n_rows);
+  BOOST_REQUIRE_EQUAL(expectResult.n_cols, actualResult.n_cols);
 
   for(size_t i = 0; i != expectResult.n_elem; ++i)
   {



More information about the mlpack-git mailing list