We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9ff6a7 commit 842fbbeCopy full SHA for 842fbbe
inst/include/CODOLS.hpp
@@ -27,6 +27,6 @@ CODOLS(const Eigen::Matrix<double, -1, -1, 0, -1, -1>& X,
27
std::ostream* pstream__) {
28
using namespace Eigen;
29
CompleteOrthogonalDecomposition<MatrixXd> cod(X);
30
- return cod.solve(y);
+ return cod.solve(y).eval();
31
}
32
#endif
0 commit comments