[mlpack-git] [mlpack] Fixed std::logic_error (#572)

vasanth kalingeri notifications at github.com
Mon Mar 14 13:02:27 EDT 2016


For libarmadillo4 and libarmadillo-dev obtained from ubuntu repository, I got the following error when I instantiated KathirvalavakumarSubavathiInitialization.

error: Mat::init(): requested size is not compatible with column vector layout

terminate called after throwing an instance of 'std::logic_error'
  what():  Mat::init(): requested size is not compatible with column vector layout
Aborted (core dumped)

Fixed the error by changing dataSum from colvec to rowvec.
You can view, comment on, or merge this pull request online at:

  https://github.com/mlpack/mlpack/pull/572

-- Commit Summary --

  * Fixed std::logic_error

-- File Changes --

    M src/mlpack/methods/ann/init_rules/kathirvalavakumar_subavathi_init.hpp (9)

-- Patch Links --

https://github.com/mlpack/mlpack/pull/572.patch
https://github.com/mlpack/mlpack/pull/572.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/572
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160314/8be56e3f/attachment.html>


More information about the mlpack-git mailing list