mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-02 18:20:38 +08:00
fix implicit scalar conversion
(transplanted from 139c91bf302717dd4a99f93b19c727cd3f14f10d )
This commit is contained in:
parent
4328afc1a5
commit
2d45ad75ea
@ -604,7 +604,7 @@ public:
|
||||
if(int(Mode)!=int(AffineCompact))
|
||||
{
|
||||
matrix().template block<1,Dim>(Dim,0).setZero();
|
||||
matrix().coeffRef(Dim,Dim) = 1;
|
||||
matrix().coeffRef(Dim,Dim) = Scalar(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user