[mlpack] 06/207: Backport Load() and Save() functionality into prereqs.hpp.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Mar 23 17:53:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit 6f2601bb4055b3a10d54532b61a08375ba9dc14a
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Mar 20 16:51:05 2017 -0400

    Backport Load() and Save() functionality into prereqs.hpp.
---
 src/mlpack/prereqs.hpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mlpack/prereqs.hpp b/src/mlpack/prereqs.hpp
index 8ea52ed..303a799 100644
--- a/src/mlpack/prereqs.hpp
+++ b/src/mlpack/prereqs.hpp
@@ -86,6 +86,11 @@
 // All code should have access to logging
 #include <mlpack/core/util/log.hpp>
 #include <mlpack/core/util/timers.hpp>
+#include <mlpack/core/util/deprecated.hpp>
+
+// All code needs to be able to load and save. (Not true for 3.x onwards.)
+#include <mlpack/core/data/load.hpp>
+#include <mlpack/core/data/save.hpp>
 
 // On Visual Studio, disable C4519 (default arguments for function templates)
 // since it's by default an error, which doesn't even make any sense because

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list