Verified Commit 90cf65ca authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test: remove auto

parent 9fc9559b
......@@ -41,7 +41,7 @@ template <typename MatType>
Eigen::Ref<MatType> editBlock(Eigen::Ref<MatType> mat, Eigen::DenseIndex i,
Eigen::DenseIndex j, Eigen::DenseIndex n,
Eigen::DenseIndex m) {
auto B = mat.block(i, j, n, m);
typename Eigen::Ref<MatType>::BlockXpr B = mat.block(i, j, n, m);
Eigen::Map<VectorXd> view(, B.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