[mlpack-svn] r17381 - mlpack/trunk/src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Nov 18 17:55:23 EST 2014


Author: rcurtin
Date: Tue Nov 18 17:55:23 2014
New Revision: 17381

Log:
Don't test on Armadillo 4.300.0 through 4.400.x because there is a bug in
Mat::load(istream&) which prevents loading from type hdf5_binary.  (The bug is
simply the omission of the hdf5_binary case from the switch() statement
actually.)


Modified:
   mlpack/trunk/src/mlpack/tests/load_save_test.cpp

Modified: mlpack/trunk/src/mlpack/tests/load_save_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/load_save_test.cpp	(original)
+++ mlpack/trunk/src/mlpack/tests/load_save_test.cpp	Tue Nov 18 17:55:23 2014
@@ -378,7 +378,9 @@
   remove("test_file.pgm");
 }
 
-#ifdef ARMA_USE_HDF5
+#if defined(ARMA_USE_HDF5) && (ARMA_VERSION_MAJOR == 3 \
+    || (ARMA_VERSION_MAJOR == 4 && (ARMA_VERSION_MINOR < 300 \
+    ||  ARMA_VERSION_MINOR > 400)))
 /**
  * Make sure load as HDF5 is successful.
  */



More information about the mlpack-svn mailing list