From 6d72e4b12dbd1bb053563bd9fab5fad56e052d1f Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Thu, 2 Aug 2007 21:39:17 +0000 Subject: [PATCH] Added missing is_negative() inline function. --- ginac/numeric.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ginac/numeric.h b/ginac/numeric.h index d198eafb..f52ffc0b 100644 --- a/ginac/numeric.h +++ b/ginac/numeric.h @@ -266,6 +266,9 @@ inline bool is_zero(const numeric &x) inline bool is_positive(const numeric &x) { return x.is_positive(); } +inline bool is_negative(const numeric &x) +{ return x.is_negative(); } + inline bool is_integer(const numeric &x) { return x.is_integer(); } -- 2.49.0