]> www.ginac.de Git - ginac.git/blobdiff - ginac/constant.cpp
- dramatic speedup for characteristic polynomials of numerical matrices.
[ginac.git] / ginac / constant.cpp
index b1b9237a1a486b26345c489cb73bcb9bfd131e91..56d096da796974af7039f50c5e52c15479e48e78 100644 (file)
@@ -125,8 +125,8 @@ ex constant::unarchive(const archive_node &n, const lst &sym_lst)
             return Pi;
         else if (s == Catalan.name)
             return Catalan;
-        else if (s == gamma.name)
-            return gamma;
+        else if (s == Euler.name)
+            return Euler;
         else
             throw (std::runtime_error("unknown constant '" + s + "' in archive"));
     } else
@@ -243,10 +243,10 @@ const type_info & typeid_constant=typeid(some_constant);
 
 /**  Pi. (3.14159...)  Diverts straight into CLN for evalf(). */
 const constant Pi("Pi", PiEvalf);
-/** Catalan's constant. (0.91597...)  Diverts straight into CLN for evalf(). */
-const constant gamma("gamma", gammaEvalf);
 /** Euler's constant. (0.57721...)  Sometimes called Euler-Mascheroni constant.
  *  Diverts straight into CLN for evalf(). */
+const constant Euler("Euler", EulerEvalf);
+/** Catalan's constant. (0.91597...)  Diverts straight into CLN for evalf(). */
 const constant Catalan("Catalan", CatalanEvalf);
 
 #ifndef NO_NAMESPACE_GINAC