From 19457cda7eb2924618a009690217581a4e55173d Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 3 Apr 2000 22:02:17 +0000 Subject: [PATCH] - inline int csgn(const numeric &): fixed a typo. --- ginac/numeric.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ginac/numeric.h b/ginac/numeric.h index ff63e42d..0c729c68 100644 --- a/ginac/numeric.h +++ b/ginac/numeric.h @@ -269,7 +269,7 @@ inline numeric pow(const numeric & x, const numeric & y) inline numeric inverse(const numeric & x) { return x.inverse(); } -inline bool csgn(const numeric & x) +inline int csgn(const numeric & x) { return x.csgn(); } inline bool is_zero(const numeric & x) @@ -308,16 +308,16 @@ inline bool is_cinteger(const numeric & x) inline bool is_crational(const numeric & x) { return x.is_crational(); } -inline numeric real(const numeric & x) +inline const numeric real(const numeric & x) { return x.real(); } -inline numeric imag(const numeric & x) +inline const numeric imag(const numeric & x) { return x.imag(); } -inline numeric numer(const numeric & x) +inline const numeric numer(const numeric & x) { return x.numer(); } -inline numeric denom(const numeric & x) +inline const numeric denom(const numeric & x) { return x.denom(); } // numeric evaluation functions for class constant objects: -- 2.44.0