[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)

Tham notifications at github.com
Sun Jul 3 22:11:34 EDT 2016


> @@ -101,8 +107,12 @@ class DatasetMapper
>      ar & data::CreateNVP(maps, "maps");
>    }
>  
> +  //! Return the policy of the mapper.
>    PolicyType& Policy() const;

I think the return type should be PolicyType const&, else the compiler could not compile(this make sense, const member function return reference non-const data member is weird).

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/694/files/21d94c04652e8faadd5e8991103a3b73b4c81033..a92afaaafb1af3deede31c1a5ef0b508bfbfe105#r69402370
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160703/1d6fa6c3/attachment.html>


More information about the mlpack-git mailing list