Commit aed0fe27 authored by Konstantinos Chatzilygeroudis's avatar Konstantinos Chatzilygeroudis
Browse files

Fix for kernel lf opt

parent 4fe58697
......@@ -59,7 +59,7 @@ namespace limbo {
// K^{-1} using Cholesky decomposition
Eigen::MatrixXd w = Eigen::MatrixXd::Identity(n, n);
// gp.matrixL().template triangularView<Eigen::Lower>().solveInPlace(w);
gp.matrixL().template triangularView<Eigen::Lower>().solveInPlace(w);
gp.matrixL().template triangularView<Eigen::Lower>().transpose().solveInPlace(w);
// alpha * alpha.transpose() - K^{-1}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment