info_flags::expanded added [A.Sheplyakov]
[ginac.git] / ginac / power.cpp
index 8829bbae597788f6908e2c4739d68da24ea42619..faaef1842d6e085faa12288448a0231cbb1733b2 100644 (file)
@@ -231,6 +231,8 @@ bool power::info(unsigned inf) const
                case info_flags::algebraic:
                        return !exponent.info(info_flags::integer) ||
                               basis.info(inf);
+               case info_flags::expanded:
+                       return (flags & status_flags::expanded);
        }
        return inherited::info(inf);
 }