]> www.ginac.de Git - ginac.git/blobdiff - ginac/basic.cpp
- Banned exZERO(), exONE(), exMINUSHALF() and all this from the interface.
[ginac.git] / ginac / basic.cpp
index acacd23428d891d2afcae902d41053f7c3d9783d..7b6a6fbeb5b2ffda4ebeb267d32d8ddf6bcef82b 100644 (file)
@@ -226,7 +226,7 @@ int basic::ldegree(symbol const & s) const
 
 ex basic::coeff(symbol const & s, int const n) const
 {
-    return n==0 ? *this : exZERO();
+    return n==0 ? *this : _ex0();
 }
 
 ex basic::collect(symbol const & s) const