aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-14 23:00:53 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-14 23:00:53 +0200
commit7a9519a9be524a879b44a1912ae694cfe4ee4ef7 (patch)
treeda5d64e9b9a8c2658f17f54997777b28fa8fd0d2 /Eigen/src/Core
parentf5d2317b12f3d6eea68db5fb48743ca1801d10d3 (diff)
fix typo in blue norm
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/Dot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h
index 4f185ea5b..c5f2e8505 100644
--- a/Eigen/src/Core/Dot.h
+++ b/Eigen/src/Core/Dot.h
@@ -394,7 +394,7 @@ MatrixBase<Derived>::blueNorm() const
{
ax = ei_abs(coeff(j));
if(ax > b2) abig += ei_abs2(ax*s2m);
- else if(ax < b2) asml += ei_abs2(ax*s1m);
+ else if(ax < b1) asml += ei_abs2(ax*s1m);
else amed += ei_abs2(ax);
}
if(abig > Scalar(0))