mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
Rename variable to avoid shadowing of a previously declared one
This commit is contained in:
parent
e55182ac09
commit
c4aa8e0db2
@ -157,9 +157,9 @@ blueNorm_impl(const EigenBase<Derived>& _vec)
|
||||
|
||||
for(Index j=0; j<vec.outerSize(); ++j)
|
||||
{
|
||||
for(typename Derived::InnerIterator it(vec, j); it; ++it)
|
||||
for(typename Derived::InnerIterator iter(vec, j); iter; ++iter)
|
||||
{
|
||||
RealScalar ax = abs(it.value());
|
||||
RealScalar ax = abs(iter.value());
|
||||
if(ax > ab2) abig += numext::abs2(ax*s2m);
|
||||
else if(ax < b1) asml += numext::abs2(ax*s1m);
|
||||
else amed += numext::abs2(ax);
|
||||
|
Loading…
Reference in New Issue
Block a user