[mlpack-svn] r13418 - mlpack/tags/mlpack-1.0.2/src/mlpack/core/kernels
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Aug 15 14:39:53 EDT 2012
Author: rcurtin
Date: 2012-08-15 14:39:53 -0400 (Wed, 15 Aug 2012)
New Revision: 13418
Modified:
mlpack/tags/mlpack-1.0.2/src/mlpack/core/kernels/example_kernel.hpp
Log:
Oops, how did that happen?
Modified: mlpack/tags/mlpack-1.0.2/src/mlpack/core/kernels/example_kernel.hpp
===================================================================
--- mlpack/tags/mlpack-1.0.2/src/mlpack/core/kernels/example_kernel.hpp 2012-08-15 18:37:32 UTC (rev 13417)
+++ mlpack/tags/mlpack-1.0.2/src/mlpack/core/kernels/example_kernel.hpp 2012-08-15 18:39:53 UTC (rev 13418)
@@ -20,10 +20,10 @@
* You should have received a copy of the GNU General Public License along with
* MLPACK. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_H
-#define __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_H
+#ifndef __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_HPP
+#define __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_HPP
-core.h>/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
@@ -115,6 +115,7 @@
*/
template<typename VecType>
static double Evaluate(const VecType& a, const VecType& b) { return 0; }
+
/**
* Obtains the convolution integral [integral K(||x-a||)K(||b-x||)dx]
* for the two vectors. In this case, because
@@ -128,7 +129,8 @@
* @return the convolution integral value.
*/
template<typename VecType>
- static double ConvolutionIntegral(const VecType& a, const VecType& b) { return 0; }
+ static double ConvolutionIntegral(const VecType& a, const VecType& b)
+ { return 0; }
/**
* Obtains the normalizing volume for the kernel with dimension $dimension$.
More information about the mlpack-svn
mailing list