]> www.ginac.de Git - ginac.git/blobdiff - ginac/matrix.cpp
GINAC_DECLARE_REGISTERED_CLASS declares duplicate() and compare_same_type(),
[ginac.git] / ginac / matrix.cpp
index 0b87ed5d3ba843511e144bc3c316bd99dd0a4d50..81d31bdb9e8739a5d073a2e20ddbb95e58f25c3f 100644 (file)
@@ -140,12 +140,6 @@ void matrix::archive(archive_node &n) const
 
 // public
 
-basic * matrix::duplicate() const
-{
-       debugmsg("matrix duplicate",LOGLEVEL_DUPLICATE);
-       return new matrix(*this);
-}
-
 void matrix::print(std::ostream & os, unsigned upper_precedence) const
 {
        debugmsg("matrix print",LOGLEVEL_PRINT);