]> www.ginac.de Git - ginac.git/blobdiff - ginac/symbol.cpp
info_flags::expanded added [A.Sheplyakov]
[ginac.git] / ginac / symbol.cpp
index 545524cb055969ad56c4d75c64e1e7f50f421492..9f3b1c62df576c4afeaa04f68ed58f9ff6ee978e 100644 (file)
@@ -3,7 +3,7 @@
  *  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
@@ -214,7 +214,8 @@ bool symbol::info(unsigned inf) const
            inf == info_flags::cinteger_polynomial ||
            inf == info_flags::rational_polynomial ||
            inf == info_flags::crational_polynomial ||
-           inf == info_flags::rational_function)
+           inf == info_flags::rational_function ||
+                       inf == info_flags::expanded)
                return true;
        if (inf == info_flags::real)
                return domain==domain::real || domain==domain::positive;