[mlpack-git] master: We actually need to wrap mlpack::data::SecondShim<> objects. (6958cc0)

gitdub at mlpack.org gitdub at mlpack.org
Wed Jun 1 13:54:15 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b

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

commit 6958cc0a5835e2882dc7ef48aec744610d7d5a12
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Jun 1 08:47:21 2016 -0700

    We actually need to wrap mlpack::data::SecondShim<> objects.


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

6958cc0a5835e2882dc7ef48aec744610d7d5a12
 src/mlpack/core/data/serialization_template_version.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/core/data/serialization_template_version.hpp b/src/mlpack/core/data/serialization_template_version.hpp
index 5d3f5b4..8cf67dc 100644
--- a/src/mlpack/core/data/serialization_template_version.hpp
+++ b/src/mlpack/core/data/serialization_template_version.hpp
@@ -20,7 +20,7 @@ namespace boost { \
 namespace serialization { \
 template<> \
 SIGNATURE \
-struct version<T> \
+struct version<mlpack::data::SecondShim<T>> \
 { \
   typedef mpl::int_<N> type; \
   typedef mpl::integral_c_tag tag; \




More information about the mlpack-git mailing list