mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-24 22:04:28 +08:00
Removed unnecessary parentheses
This commit is contained in:
parent
68069af969
commit
6f7f0ab6c2
@ -269,7 +269,7 @@ class SparseLU : public internal::SparseLUImpl<typename _MatrixType::Scalar, typ
|
||||
if(it.index() == j)
|
||||
{
|
||||
using std::abs;
|
||||
det *= (abs)(it.value());
|
||||
det *= abs(it.value());
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -297,7 +297,7 @@ class SparseLU : public internal::SparseLUImpl<typename _MatrixType::Scalar, typ
|
||||
if(it.row() == j)
|
||||
{
|
||||
using std::log, std::abs;
|
||||
det += (log)((abs)(it.value()));
|
||||
det += log(abs(it.value()));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user