]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_parser.ypp
[BUGFIX] Prevent crashes in find_common_factor()
[ginac.git] / ginsh / ginsh_parser.ypp
index a18229e37f3cf10841eeb335ac645e37c8e10b56..e224fda93cafb5a240b298673799678f04ba6d15 100644 (file)
@@ -45,6 +45,9 @@
 
 #include "ginsh.h"
 
+using namespace std;
+using namespace GiNaC;
+
 #define YYERROR_VERBOSE 1
 
 #ifdef HAVE_LIBREADLINE
@@ -439,7 +442,7 @@ static ex f_integer_content(const exprseq &e)
 static ex f_integral(const exprseq &e)
 {
        CHECK_ARG(0, symbol, integral);
-       return integral(e[0], e[1], e[2], e[3]);
+       return GiNaC::integral(e[0], e[1], e[2], e[3]);
 }
 
 static ex f_inverse(const exprseq &e)