Fix CwiseUnaryView.

This commit is contained in:
Antonio Sánchez
2024-03-11 19:08:30 +00:00
committed by Rasmus Munk Larsen
parent 352ede96e4
commit 1d4369c2ff
7 changed files with 154 additions and 44 deletions

View File

@@ -10,7 +10,7 @@ using namespace Eigen;
void foo() {
MatrixXf m;
CwiseUnaryView<internal::scalar_real_ref_op<double>, CV_QUALIFIER MatrixXf>(m).coeffRef(0, 0) = 1.0f;
CwiseUnaryView<internal::scalar_real_ref_op<float>, CV_QUALIFIER MatrixXf>(m).coeffRef(0, 0) = 1.0f;
}
int main() {}