[mlpack-svn] r16327 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Feb 21 18:11:54 EST 2014
Author: rcurtin
Date: Fri Feb 21 18:11:54 2014
New Revision: 16327
Log:
Fix mixup of rows and columns.
Modified:
mlpack/trunk/src/mlpack/tests/to_string_test.cpp
Modified: mlpack/trunk/src/mlpack/tests/to_string_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/to_string_test.cpp (original)
+++ mlpack/trunk/src/mlpack/tests/to_string_test.cpp Fri Feb 21 18:11:54 2014
@@ -283,13 +283,13 @@
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;
More information about the mlpack-svn
mailing list