mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
fix implicit scalar conversion
This commit is contained in:
parent
a2ace4b79a
commit
139c91bf30
@ -604,7 +604,7 @@ public:
|
|||||||
if(int(Mode)!=int(AffineCompact))
|
if(int(Mode)!=int(AffineCompact))
|
||||||
{
|
{
|
||||||
matrix().template block<1,Dim>(Dim,0).setZero();
|
matrix().template block<1,Dim>(Dim,0).setZero();
|
||||||
matrix().coeffRef(Dim,Dim) = 1;
|
matrix().coeffRef(Dim,Dim) = Scalar(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user