mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-24 22:04:28 +08:00
compilation fix in ldlt() for non matrix types
(transplanted from 608959aa6fce375abb92872350267074a1d90283 )
This commit is contained in:
parent
e1f61b40c8
commit
1f4b8e6a36
@ -192,7 +192,7 @@ template<typename Derived>
|
||||
inline const LDLT<typename MatrixBase<Derived>::PlainMatrixType>
|
||||
MatrixBase<Derived>::ldlt() const
|
||||
{
|
||||
return derived();
|
||||
return LDLT<PlainObject>(derived());
|
||||
}
|
||||
|
||||
#endif // EIGEN_LDLT_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user