mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 04:09:10 +08:00
compilation fix in ldlt() for non matrix types
This commit is contained in:
parent
71fecd2371
commit
608959aa6f
@ -322,7 +322,7 @@ template<typename Derived>
|
|||||||
inline const LDLT<typename MatrixBase<Derived>::PlainObject>
|
inline const LDLT<typename MatrixBase<Derived>::PlainObject>
|
||||||
MatrixBase<Derived>::ldlt() const
|
MatrixBase<Derived>::ldlt() const
|
||||||
{
|
{
|
||||||
return derived();
|
return LDLT<PlainObject>(derived());
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // EIGEN_LDLT_H
|
#endif // EIGEN_LDLT_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user