Skip to content

Commit cf070cd

Browse files
committed
Update print.hpp for latest guanaqo
1 parent 291c920 commit cf070cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/alpaqa/include/alpaqa/util/print.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ std::ostream &print_python(std::ostream &os,
1313
const Eigen::DenseBase<Derived> &M) {
1414
if constexpr (requires { M.derived().data(); })
1515
return guanaqo::detail::print_python_impl(
16-
os, guanaqo::MatrixView<const typename Derived::Scalar>{
17-
.data = M.derived().data(),
18-
.rows = M.rows(),
19-
.cols = M.cols(),
20-
.stride = M.outerStride(),
21-
});
16+
os, guanaqo::MatrixView<const typename Derived::Scalar>{{
17+
.data = M.derived().data(),
18+
.rows = M.rows(),
19+
.cols = M.cols(),
20+
.outer_stride = M.outerStride(),
21+
}});
2222
else
2323
return print_python(os, M.eval());
2424
}

0 commit comments

Comments
 (0)