X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fwildcard.cpp;h=5d88146f1b76d763c9f94e6dfd44e6a5c0d96b5d;hp=528df593f0bbb5528499a28715fc4f669b053aa9;hb=1566be23d91ed1311bee2071bdae9ef93d0b7cf6;hpb=b617b5cf86e6f8ac01a339d9747c535257fcf8d0 diff --git a/ginac/wildcard.cpp b/ginac/wildcard.cpp index 528df593..5d88146f 100644 --- a/ginac/wildcard.cpp +++ b/ginac/wildcard.cpp @@ -77,7 +77,7 @@ void wildcard::archive(archive_node &n) const DEFAULT_UNARCHIVE(wildcard) ////////// -// functions overriding virtual functions from bases classes +// functions overriding virtual functions from base classes ////////// int wildcard::compare_same_type(const basic & other) const @@ -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); @@ -115,9 +115,9 @@ unsigned wildcard::calchash(void) const bool wildcard::match(const ex & pattern, lst & repl_lst) const { - // Wildcards must match exactly (this is required for subs() to work - // properly because in the final step it substitutes all wildcards by - // their matching expressions) + // Wildcards must match each other exactly (this is required for + // subs() to work properly because in the final step it substitutes + // all wildcards by their matching expressions) return is_equal(*pattern.bp); }