]> www.ginac.de Git - ginac.git/commitdiff
function name is printed in the warning about mismatched number of parameters
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 27 Mar 2003 20:06:43 +0000 (20:06 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 27 Mar 2003 20:06:43 +0000 (20:06 +0000)
ginac/function.pl

index ad372f556a9b051334d1041655013c371d27b757..3d239d8adfe5a36500b7250b57e486ec3cf1125c 100755 (executable)
@@ -556,7 +556,7 @@ void function_options::test_and_set_nparams(unsigned n)
                // we do not throw an exception here because this code is
                // usually executed before main(), so the exception could not
                // caught anyhow
-               std::cerr << "WARNING: number of parameters ("
+               std::cerr << "WARNING: " << name << "(): number of parameters ("
                          << n << ") differs from number set before (" 
                          << nparams << ")" << std::endl;
        }