]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
Make .eval() evaluate top-level only.
[ginac.git] / ginac / numeric.cpp
index 2bb92653fd2fc079098e6af8c08b05bc61ae6c74..9b23214b05e4b0a0e8e9b6dd28fb819349d8f4b6 100644 (file)
@@ -775,10 +775,8 @@ bool numeric::has(const ex &other, unsigned options) const
 
 
 /** Evaluation of numbers doesn't do anything at all. */
-ex numeric::eval(int level) const
+ex numeric::eval() const
 {
-       // Warning: if this is ever gonna do something, the ex ctors from all kinds
-       // of numbers should be checking for status_flags::evaluated.
        return this->hold();
 }