diff options
author | torset | 2009-01-16 16:23:22 +0000 |
---|---|---|
committer | torset | 2009-01-16 16:23:22 +0000 |
commit | 25211248348e0488a0e830bfafc3f3bd9061224a (patch) | |
tree | 15f0b3c1276be57c4ee23d6b414c132cdc71ccea /src/auxiliaryFunctions/pythag/cpythags.c | |
parent | 6336fd8c8f24e474913ce7e85fbb2d0fad6283df (diff) | |
download | scilab2c-25211248348e0488a0e830bfafc3f3bd9061224a.tar.gz scilab2c-25211248348e0488a0e830bfafc3f3bd9061224a.tar.bz2 scilab2c-25211248348e0488a0e830bfafc3f3bd9061224a.zip |
Update with Scilab2C modifs (maybe some errors)
Diffstat (limited to 'src/auxiliaryFunctions/pythag/cpythags.c')
-rw-r--r-- | src/auxiliaryFunctions/pythag/cpythags.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auxiliaryFunctions/pythag/cpythags.c b/src/auxiliaryFunctions/pythag/cpythags.c index b505195c..2f4ad33d 100644 --- a/src/auxiliaryFunctions/pythag/cpythags.c +++ b/src/auxiliaryFunctions/pythag/cpythags.c @@ -13,6 +13,6 @@ #include "pythag.h" floatComplex cpythags(floatComplex x, floatComplex y) { - return (csqrts( cadds(ctimess(x,x), - ctimess(y,y)) )); + return (csqrts( cadds(cmuls(x,x), + cmuls(y,y)) )); } |