X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fbasic.cpp;h=3a2768418c5705aa0e7cb8078e88fc70834c7254;hp=725c0ec52b4345dbb0f47b61a5ef0cfa12c71865;hb=815b86159af5d3b013b720e14ab7348f462e2db6;hpb=ff48a4c31a23d98cc818e973e71010b7d5a97af6;ds=sidebyside diff --git a/ginac/basic.cpp b/ginac/basic.cpp index 725c0ec5..3a276841 100644 --- a/ginac/basic.cpp +++ b/ginac/basic.cpp @@ -57,7 +57,6 @@ GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(basic, void, * tinfo_key and the hash value. */ basic::basic(const basic & other) : tinfo_key(other.tinfo_key), flags(other.flags & ~status_flags::dynallocated), hashvalue(other.hashvalue) { - GINAC_ASSERT(typeid(*this) == typeid(other)); } /** basic assignment operator: the other object might be of a derived class. */