HvD: Introduced a work around for something that seems a Maxima bug. When squaring an expression (say f(x)) and specifying this as f(x)^2.0  Maxima occassionally goes into an infinite recursion causing it to crash eventually as the lisp stack is exhausted. However, specifying the same  operation as f(x)^2 seems to avoid this issue. So now we check whether we are raising an expression to the power 2.0 and then print it as 2 instead.
HvD: Introduced a work around for something that seems a Maxima bug.
When squaring an expression (say f(x)) and specifying this as f(x)^2.0 
Maxima occassionally goes into an infinite recursion causing it to crash
eventually as the lisp stack is exhausted. However, specifying the same 
operation as f(x)^2 seems to avoid this issue. So now we check whether we
are raising an expression to the power 2.0 and then print it as 2 instead.





rangsimanketkaew/NWChem