mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
use ei_sqrt instead of sqrt
This commit is contained in:
parent
1ad042c981
commit
0abb148b7d
@ -261,7 +261,7 @@ L200:
|
||||
/* L230: */
|
||||
}
|
||||
temp1 = ei_enorm<Scalar>(n, &wa3[1]) / fnorm;
|
||||
temp2 = sqrt(par) * pnorm / fnorm;
|
||||
temp2 = ei_sqrt(par) * pnorm / fnorm;
|
||||
/* Computing 2nd power */
|
||||
prered = temp1 * temp1 + temp2 * temp2 / p5;
|
||||
dirder = -(temp1 * temp1 + temp2 * temp2);
|
||||
|
@ -263,7 +263,7 @@ L200:
|
||||
/* L230: */
|
||||
}
|
||||
temp1 = ei_enorm<Scalar>(n, &wa3[1]) / fnorm;
|
||||
temp2 = sqrt(par) * pnorm / fnorm;
|
||||
temp2 = ei_sqrt(par) * pnorm / fnorm;
|
||||
/* Computing 2nd power */
|
||||
prered = temp1 * temp1 + temp2 * temp2 / p5;
|
||||
dirder = -(temp1 * temp1 + temp2 * temp2);
|
||||
|
@ -285,7 +285,7 @@ L240:
|
||||
/* L270: */
|
||||
}
|
||||
temp1 = ei_enorm<Scalar>(n, &wa3[1]) / fnorm;
|
||||
temp2 = sqrt(par) * pnorm / fnorm;
|
||||
temp2 = ei_sqrt(par) * pnorm / fnorm;
|
||||
/* Computing 2nd power */
|
||||
prered = temp1 * temp1 + temp2 * temp2 / p5;
|
||||
dirder = -(temp1 * temp1 + temp2 * temp2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user