[mlpack-svn] r16176 - mlpack/trunk/src/mlpack/core/kernels

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Jan 28 14:24:30 EST 2014


Author: birm
Date: Tue Jan 28 14:24:30 2014
New Revision: 16176

Log:
Changed so that "dimension" is not declared, to avoid compiler warning.


Modified:
   mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp

Modified: mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp	(original)
+++ mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp	Tue Jan 28 14:24:30 2014
@@ -137,7 +137,10 @@
    * @param dimension the dimension of the space.
    * @return the normalization constant.
    */
-  static double Normalizer(size_t dimension=1) { return 0; }
+  static double Normalizer() { return 0; }
+  
+  // Modified to remove unused variable "dimension"  
+  //static double Normalizer(size_t dimension=1) { return 0; }
   
 };
 



More information about the mlpack-svn mailing list