mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Fix compilation of int*complex with gcc
This commit is contained in:
parent
9f49f00feb
commit
3373c903b3
@ -345,7 +345,7 @@ class SparseLU : public SparseSolverBase<SparseLU<_MatrixType,_OrderingType> >,
|
||||
}
|
||||
}
|
||||
}
|
||||
return det * (m_detPermR * m_detPermC);
|
||||
return (m_detPermR * m_detPermC) > 0 ? det : -det;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user