[mlpack-git] [mlpack/mlpack] Modify NSModel to use boost variant. (#693)

MarcosPividori notifications at github.com
Fri Jun 17 13:03:17 EDT 2016


Hi, in b34dac8 , I fixed serialization of NSModel. Loading was not working before that commit.
I use the *serialize* function for variants, defined by boost. So, I had to add a definition of *serialize* for NeighborSearchClass, because it is need by boost variant serialization.
Another option to fixing the serialization can be seeing in this branch: https://github.com/MarcosPividori/mlpack/tree/variant-serialization , but I prefer the solution included above, because it is simple.

---
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/693#issuecomment-226824813
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160617/434a7bd1/attachment.html>


More information about the mlpack-git mailing list