[mlpack] 03/11: Fix RSModel declarations.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Aug 31 13:19:49 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 bf66fcf5b2da42ee2badea78d6fcde1465708320
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Aug 25 19:52:06 2017 -0400

    Fix RSModel declarations.
---
 src/mlpack/methods/range_search/rs_model.hpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/mlpack/methods/range_search/rs_model.hpp b/src/mlpack/methods/range_search/rs_model.hpp
index e2795aa..ba25dbc 100644
--- a/src/mlpack/methods/range_search/rs_model.hpp
+++ b/src/mlpack/methods/range_search/rs_model.hpp
@@ -296,6 +296,15 @@ class RSModel
   RSModel(const TreeTypes treeType = TreeTypes::KD_TREE,
           const bool randomBasis = false);
 
+  //! Copy constructor.
+  RSModel(const RSModel& other);
+  //! Move constructor.
+  RSModel(RSModel&& other);
+  //! Copy operator.
+  RSModel& operator=(const RSModel& other);
+  //! Move operator.
+  RSModel& operator=(RSModel&& other);
+
   /**
    * Clean memory, if necessary.
    */

-- 
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