[mlpack-git] master: This should make appVeyor succeed. (c42e40b)

gitdub at mlpack.org gitdub at mlpack.org
Mon Aug 15 21:07:18 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/0f4b25acd6aaa14294c044874ba6cc0751712baa...0a19d07bd39e6223991976474bc79671ba8aa0f0

>---------------------------------------------------------------

commit c42e40bbd5a6192fb0fb8be0af94d193b27d6751
Author: MarcosPividori <marcos.pividori at gmail.com>
Date:   Mon Aug 15 22:07:18 2016 -0300

    This should make appVeyor succeed.


>---------------------------------------------------------------

c42e40bbd5a6192fb0fb8be0af94d193b27d6751
 src/mlpack/methods/neighbor_search/ns_model_impl.hpp | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
index 07c6f21..807ea57 100644
--- a/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/ns_model_impl.hpp
@@ -283,10 +283,15 @@ template<typename Archive,
          typename SortPolicy,
          template<typename TreeMetricType,
                   typename TreeStatType,
-                  typename TreeMatType> class TreeType>
+                  typename TreeMatType> class TreeType,
+         template<typename RuleType> class TraversalType>
 void serialize(
     Archive& ar,
-    NSType<SortPolicy, TreeType>& ns,
+    NeighborSearch<SortPolicy,
+                   metric::EuclideanDistance,
+                   arma::mat,
+                   TreeType,
+                   TraversalType>& ns,
     const unsigned int version)
 {
   ns.Serialize(ar, version);




More information about the mlpack-git mailing list