diff --git a/src/mlpack/tests/to_string_test.cpp b/src/mlpack/tests/to_string_test.cpp index 475c3ba4d7..4272f65cbe 100644 --- a/src/mlpack/tests/to_string_test.cpp +++ b/src/mlpack/tests/to_string_test.cpp @@ -283,13 +283,13 @@ BOOST_AUTO_TEST_CASE(CFString) size_t a = 1 ; arma::mat c(3, 3); c(0, 0) = 1; - c(0, 1) = 2; - c(0, 2) = 1.5; c(1, 0) = 2; + c(2, 0) = 1.5; + c(0, 1) = 2; c(1, 1) = 3; - c(1, 2) = 2.0; - c(2, 0) = 1; - c(2, 1) = 3; + c(2, 1) = 2.0; + c(0, 2) = 1; + c(1, 2) = 3; c(2, 2) = 0.7; mlpack::cf::CF d(a, a, c); Log::Debug << d;