]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
GINAC_DECLARE_REGISTERED_CLASS declares duplicate() and compare_same_type(),
[ginac.git] / ginac / numeric.cpp
index 3398f60db6aca79a82bd5b27244a03ebe8b70cf9..358ad45d3f5df37d72a05ae8d08b041ce4b3f619 100644 (file)
@@ -381,15 +381,6 @@ void numeric::archive(archive_node &n) const
 // functions overriding virtual functions from bases classes
 //////////
 
-// public
-
-basic * numeric::duplicate() const
-{
-       debugmsg("numeric duplicate", LOGLEVEL_DUPLICATE);
-       return new numeric(*this);
-}
-
-
 /** Helper function to print a real number in a nicer way than is CLN's
  *  default.  Instead of printing 42.0L0 this just prints 42.0 to ostream os
  *  and instead of 3.99168L7 it prints 3.99168E7.  This is fine in GiNaC as