[mlpack-svn] r15984 - mlpack/conf/jenkins-conf/benchmark/benchmark

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Oct 24 16:04:09 EDT 2013


Author: marcus
Date: Thu Oct 24 16:04:09 2013
New Revision: 15984

Log:
Use < 0 instead of -1 to catch a failure.

Modified:
   mlpack/conf/jenkins-conf/benchmark/benchmark/run_benchmark.py

Modified: mlpack/conf/jenkins-conf/benchmark/benchmark/run_benchmark.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/benchmark/run_benchmark.py	(original)
+++ mlpack/conf/jenkins-conf/benchmark/benchmark/run_benchmark.py	Thu Oct 24 16:04:09 2013
@@ -251,7 +251,7 @@
                 if sum(time) == -2:
                   # Timout failure.
                   dataMatrix[row][col] = ">" + str(timeout)
-                elif sum(time) == -1:
+                elif sum(time) < 0:
                   # Exception.
                   dataMatrix[row][col] = "failure"
                 else:



More information about the mlpack-svn mailing list