diff --git a/src/alpaqa/include/alpaqa/util/print.hpp b/src/alpaqa/include/alpaqa/util/print.hpp index a0ae3cf584..90a9a3d757 100644 --- a/src/alpaqa/include/alpaqa/util/print.hpp +++ b/src/alpaqa/include/alpaqa/util/print.hpp @@ -13,12 +13,12 @@ std::ostream &print_python(std::ostream &os, const Eigen::DenseBase &M) { if constexpr (requires { M.derived().data(); }) return guanaqo::detail::print_python_impl( - os, guanaqo::MatrixView{ - .data = M.derived().data(), - .rows = M.rows(), - .cols = M.cols(), - .stride = M.outerStride(), - }); + os, guanaqo::MatrixView{{ + .data = M.derived().data(), + .rows = M.rows(), + .cols = M.cols(), + .outer_stride = M.outerStride(), + }}); else return print_python(os, M.eval()); }