[mlpack-svn] r15924 - mlpack/trunk/src/mlpack/methods/emst

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Oct 4 00:38:54 EDT 2013


Author: rcurtin
Date: Fri Oct  4 00:38:54 2013
New Revision: 15924

Log:
Yeah, it makes a difference to inline the BaseCase function (#281).


Modified:
   mlpack/trunk/src/mlpack/methods/emst/dtb_rules_impl.hpp

Modified: mlpack/trunk/src/mlpack/methods/emst/dtb_rules_impl.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/emst/dtb_rules_impl.hpp	(original)
+++ mlpack/trunk/src/mlpack/methods/emst/dtb_rules_impl.hpp	Fri Oct  4 00:38:54 2013
@@ -30,6 +30,7 @@
 }
 
 template<typename MetricType, typename TreeType>
+inline force_inline
 double DTBRules<MetricType, TreeType>::BaseCase(const size_t queryIndex,
                                                 const size_t referenceIndex)
 {



More information about the mlpack-svn mailing list