Commit 9fc9559b authored by Wilson Jallet's avatar Wilson Jallet 🎬
Browse files

unittest: use the right linspaced range

parent 0c2c3471
Pipeline #18401 failed with stage
in 1 minute and 51 seconds
......@@ -43,7 +43,7 @@ Eigen::Ref<MatType> editBlock(Eigen::Ref<MatType> mat, Eigen::DenseIndex i,
Eigen::DenseIndex m) {
auto B = mat.block(i, j, n, m);
Eigen::Map<VectorXd> view(, B.size());
view.setLinSpaced(1., (double)view.size());
view.setLinSpaced(0., (double)view.size() - 1.);
return mat;
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