aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/level1_impl.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-06-12 17:56:15 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-06-12 17:56:15 +0200
commitf75419c711b3df73ca1e9b5af94db28d437a0698 (patch)
tree3f136e0d246bd05c9eb7c074336a0299b18891ad /blas/level1_impl.h
parentf3a029e9579c7290e1e6737f7239afac51ada097 (diff)
Add missing changes.
Diffstat (limited to 'blas/level1_impl.h')
-rw-r--r--blas/level1_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index c73f4d4f9..b08c2f6be 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -120,10 +120,10 @@ int EIGEN_BLAS_FUNC(rotg)(RealScalar *pa, RealScalar *pb, RealScalar *pc, RealSc
else
{
scale = abs(a) + abs(b);
- norm = scale*sqrt((internal::abs2(a/scale))+ (internal::abs2(b/scale)));
+ norm = scale*sqrt((numext::abs2(a/scale)) + (numext::abs2(b/scale)));
alpha = a/abs(a);
*c = abs(a)/norm;
- *s = alpha*internal::conj(b)/norm;
+ *s = alpha*numext::conj(b)/norm;
a = alpha*norm;
}
#endif