[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/eba4f9924694bc10daec74ff5059dbb8af001416...e3a23c256f017ebb8185b15847c82f51d359cdfd

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

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