triangularView does not work with sliced matrices
In this example, https://godbolt.org/z/xfsEEjr7s, I would like to use a triangularView< Eigen::Upper >().solve on top of a sliced matrix, but I have a compilation error.
pt/compiler-explorer/libs/eigen/vtrunk/Eigen/src/Core/SolveTriangular.h:71:99: error: 'const class Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, std::vector<int>, std::vector<int> >' has no member named 'data'
71 | actualLhs.data(),
| ~~~~~~~~~~^~~~
/opt/compiler-explorer/libs/eigen/vtrunk/Eigen/src/Core/SolveTriangular.h:70:88: error: passing 'const Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, std::vector<int>, std::vector<int> >' as 'this' argument discards qualifiers [-fpermissive]
And same problem when I try to copy the result of the solve inside a sliced vector. See the two commented lines in the godbolt example.
Is this a bug or something that is not supported yet? Florian