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…
Reference in New Issue
Block a user