mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Remove EIGEN_MPL2_ONLY guard in IncompleteCholesky that is no longer needed after the AMD reordering code was relicensed to MPL2.
This commit is contained in:
parent
d7d2f0680e
commit
6a34003141
@ -41,13 +41,7 @@ namespace Eigen {
|
|||||||
* the info() method, then you can either increase the initial shift, or better use another preconditioning technique.
|
* the info() method, then you can either increase the initial shift, or better use another preconditioning technique.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
template <typename Scalar, int _UpLo = Lower, typename _OrderingType =
|
template <typename Scalar, int _UpLo = Lower, typename _OrderingType = AMDOrdering<int> >
|
||||||
#ifndef EIGEN_MPL2_ONLY
|
|
||||||
AMDOrdering<int>
|
|
||||||
#else
|
|
||||||
NaturalOrdering<int>
|
|
||||||
#endif
|
|
||||||
>
|
|
||||||
class IncompleteCholesky : public SparseSolverBase<IncompleteCholesky<Scalar,_UpLo,_OrderingType> >
|
class IncompleteCholesky : public SparseSolverBase<IncompleteCholesky<Scalar,_UpLo,_OrderingType> >
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user