mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix CwiseUnaryView.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
352ede96e4
commit
1d4369c2ff
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user