]> www.ginac.de Git - ginac.git/blobdiff - ginac/flags.h
Allow, optionally, indices to be substituted by things that are not indices.
[ginac.git] / ginac / flags.h
index 6cf3ea94dde8b34e88b477d6d075ec7d97e3525c..8ef1c0ac07e03a72f8482a431b886543b3bbfc1a 100644 (file)
@@ -52,7 +52,11 @@ public:
                subs_algebraic = 0x0002,  // for backwards compatibility
                pattern_is_product = 0x0004,     ///< used internally by expairseq::subschildren()
                pattern_is_not_product = 0x0008, ///< used internally by expairseq::subschildren()
-               no_index_renaming = 0x0010
+               no_index_renaming = 0x0010,
+               // To indicate that we want to substitue an index by something that is
+               // is not an index. Without this flag the index value would be
+               // substituted in that case.
+               really_subs_idx = 0x0020
        };
 };