[mlpack] 160/207: add forward declaration for DatasetInfo, wihtout it the vc2015 compiler cannot find the declaration, weird
Barak A. Pearlmutter
barak+git at pearlmutter.net
Thu Mar 23 17:53:50 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 bc83001fe0ba910ee601f40bdd8544499e5783fc
Author: stereomatchingkiss <stereomatchingkiss at gmail.com>
Date: Wed Jun 8 12:47:29 2016 +0800
add forward declaration for DatasetInfo, wihtout it the vc2015 compiler cannot find the declaration, weird
---
src/mlpack/core/data/load.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mlpack/core/data/load.hpp b/src/mlpack/core/data/load.hpp
index 339bf97..9fe8e79 100644
--- a/src/mlpack/core/data/load.hpp
+++ b/src/mlpack/core/data/load.hpp
@@ -24,6 +24,8 @@
namespace mlpack {
namespace data /** Functions to load and save matrices and models. */ {
+class DatasetInfo;
+
/**
* Loads a matrix from file, guessing the filetype from the extension. This
* will transpose the matrix at load time (unless the transpose parameter is set
--
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