]> www.ginac.de Git - ginac.git/blobdiff - ginac/flags.h
fixed a bug where quo() would call vector::reserve() with a negative argument
[ginac.git] / ginac / flags.h
index 987a4df0260dd894b79a0c3048e6ccaa97c664e0..4c4f77290c506626c2822182ed05154237f42d65 100644 (file)
@@ -29,7 +29,8 @@ class expand_options {
 public:
        enum {
                expand_trigonometric = 0x0001,
-               expand_indexed = 0x0002
+               expand_indexed = 0x0002,
+               expand_function_args = 0x0004
        };
 };
 
@@ -69,9 +70,9 @@ public:
 class status_flags {
 public:
        enum {
-               dynallocated    = 0x0001,       ///< Heap-allocated (i.e. created by new if we want to be clever and bypass the stack)
+               dynallocated    = 0x0001,       ///< Heap-allocated (i.e. created by new if we want to be clever and bypass the stack, @see ex::construct_from_basic() )
                evaluated       = 0x0002,       ///< .eval() has already done its job
-               expanded        = 0x0004,       ///< .expand() has already done its job
+               expanded        = 0x0004,       ///< .expand(0) has already done its job (other expand() options ignore this flag)
                hash_calculated = 0x0008        ///< .calchash() has already done its job
        };
 };
@@ -142,15 +143,6 @@ public:
        };
 };
 
-class csrc_types {
-public:
-       enum {
-               ctype_float,
-               ctype_double,
-               ctype_cl_N
-       };
-};
-
 /** Strategies how to clean up the function remember cache.
  *  @see remember_table */
 class remember_strategies {