mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Removed unnecessary parentheses
This commit is contained in:
@@ -268,7 +268,7 @@ class SparseLU : public internal::SparseLUImpl<typename _MatrixType::Scalar, typ
|
|||||||
if(it.row() == j)
|
if(it.row() == j)
|
||||||
{
|
{
|
||||||
using std::abs;
|
using std::abs;
|
||||||
det *= (abs)(it.value());
|
det *= abs(it.value());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -296,7 +296,7 @@ class SparseLU : public internal::SparseLUImpl<typename _MatrixType::Scalar, typ
|
|||||||
if(it.row() == j)
|
if(it.row() == j)
|
||||||
{
|
{
|
||||||
using std::log, std::abs;
|
using std::log, std::abs;
|
||||||
det += (log)((abs)(it.value()));
|
det += log(abs(it.value()));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user