Skip to content

Commit 842fbbe

Browse files
committed
Fix vignette hang under 226
1 parent a9ff6a7 commit 842fbbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/CODOLS.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ CODOLS(const Eigen::Matrix<double, -1, -1, 0, -1, -1>& X,
2727
std::ostream* pstream__) {
2828
using namespace Eigen;
2929
CompleteOrthogonalDecomposition<MatrixXd> cod(X);
30-
return cod.solve(y);
30+
return cod.solve(y).eval();
3131
}
3232
#endif

0 commit comments

Comments
 (0)