mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* LU decomposition, supporting all rectangular matrices, with full
pivoting for better numerical stability. For now the only application is determinant. * New determinant unit-test. * Disable most of Swap.h for now as it makes LU fail (mysterious). Anyway Swap needs a big overhaul as proposed on IRC. * Remnants of old class Inverse removed. * Some warnings fixed.
This commit is contained in:
@@ -42,7 +42,9 @@ template<typename OtherDerived>
|
||||
void MatrixBase<Derived>::swap(const MatrixBase<OtherDerived>& other)
|
||||
{
|
||||
MatrixBase<OtherDerived> *_other = const_cast<MatrixBase<OtherDerived>*>(&other);
|
||||
if(SizeAtCompileTime == Dynamic)
|
||||
|
||||
// disable that path: it makes LU decomposition fail ! I can't see the bug though.
|
||||
if(false /*SizeAtCompileTime == Dynamic*/)
|
||||
{
|
||||
ei_swap_selector<Derived,OtherDerived>::run(derived(),other.const_cast_derived());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user