* Implementation of GiNaC's symbolic objects. */
/*
- * GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return true;
if (inf == info_flags::real)
return domain==domain::real || domain==domain::positive;
- if (inf == info_flags::nonnegative)
+ if (inf == info_flags::positive || inf == info_flags::nonnegative)
return domain == domain::positive;
else
return inherited::info(inf);