flashxio / FlashX

FlashX is a collection of big data analytics tools that perform data analytics in the form of graphs and matrices.
http://flashx.io/
Apache License 2.0
233 stars 53 forks source link

[FlashR]: check the parameters of fm.eigen. #361

Closed zheng-da closed 7 years ago

zheng-da commented 7 years ago
> res <- fm.eigen(mul, 32, nrow(m), which="FM", sym=TRUE)
terminate called after throwing an instance of 'std::invalid_argument'
  what():  /usr/local/include/AnasaziBlockKrylovSchurSolMgr.hpp:362:

Throw number = 1

Throw test that evaluated to true: _whch != "SM" && _whch != "LM" && _whch != "SR" && _whch != "LR" && _whch != "SI" && _whch != "LI"

Invalid sorting string.
Aborted (core dumped)
zheng-da commented 7 years ago
commit 270fc67dedfd041b47f01618950d743ae8011d32
Author: Da Zheng <zhengda1936@gmail.com>
Date:   Sat Mar 4 23:46:59 2017 -0500

    [R]: check the input of fm.eigen.

    We have to make sure the eigensolver doesn't crash when giving an
    invalud input.