Remove global variable max_recursion_level.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 28 Jan 2016 23:11:14 +0000 (00:11 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 28 Jan 2016 23:11:47 +0000 (00:11 +0100)
With the removal of the last 'level' parameter, this variable has
become obsolete.

ginac/basic.cpp
ginac/basic.h

index 6abe472..0dfa7d7 100644 (file)
@@ -901,9 +901,6 @@ void basic::ensure_if_modifiable() const
 // global variables
 //////////
 
-int max_recursion_level = 1024;
-
-
 #ifdef GINAC_COMPARE_STATISTICS
 compare_statistics_t::~compare_statistics_t()
 {
index 598058a..3ae3282 100644 (file)
@@ -304,8 +304,6 @@ protected:
 
 // global variables
 
-extern int max_recursion_level;
-
 
 // convenience type checker template functions