From 25211248348e0488a0e830bfafc3f3bd9061224a Mon Sep 17 00:00:00 2001 From: torset Date: Fri, 16 Jan 2009 16:23:22 +0000 Subject: Update with Scilab2C modifs (maybe some errors) --- src/auxiliaryFunctions/pythag/cpythags.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auxiliaryFunctions/pythag/cpythags.c') 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)) )); } -- cgit