mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +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:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user