- fixed three little standard-conformance issues.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 31 Jul 2001 17:01:20 +0000 (17:01 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 31 Jul 2001 17:01:20 +0000 (17:01 +0000)
ginac/normal.cpp
ginac/symmetry.cpp
ginac/wildcard.cpp

index 379d1230b1b685808f4a331d2a6d6bb3e1cf1829..7a52c71d2914d331a0be314dd100a9e46dc155e6 100644 (file)
@@ -207,7 +207,7 @@ static void get_symbol_stats(const ex &a, const ex &b, sym_desc_vec &v)
                it->ldeg_b = b.ldegree(*(it->sym));
                ++it;
        }
-       sort(v.begin(), v.end());
+       std::sort(v.begin(), v.end());
 #if 0
        std::clog << "Symbols:\n";
        it = v.begin(); itend = v.end();
index 74cb62ea26b1a152a9af7754747de1264c2e4fbc..2312526e67a367df028a1ec1e68f2053f5e4961a 100644 (file)
@@ -161,7 +161,7 @@ int symmetry::compare_same_type(const basic & other) const
        return 0;
 }
 
-void symmetry::print(const print_context & c, unsigned level = 0) const
+void symmetry::print(const print_context & c, unsigned level) const
 {
        debugmsg("symmetry print", LOGLEVEL_PRINT);
 
index 31d934a3d14790b2686e97442aa6e5199868e5c2..5d88146f1b76d763c9f94e6dfd44e6a5c0d96b5d 100644 (file)
@@ -91,7 +91,7 @@ int wildcard::compare_same_type(const basic & other) const
                return label < o.label ? -1 : 1;
 }
 
-void wildcard::print(const print_context & c, unsigned level = 0) const
+void wildcard::print(const print_context & c, unsigned level) const
 {
        debugmsg("wildcard print", LOGLEVEL_PRINT);