]> www.ginac.de Git - ginac.git/blobdiff - check/time_antipode.cpp
* node assignment was not returning *this.
[ginac.git] / check / time_antipode.cpp
index 12ee3db417fe1489d0e40748f528393fd82ba2a6..d716ea24117031c417fbb6ae0a294255ad3ebdb0 100644 (file)
@@ -178,6 +178,7 @@ const node & node::operator=(const node &n)
        delete vert;
        vert = (n.vert)->copy();
        children = n.children;
+       return *this;
 }
 
 void node::add_child(const node &childnode, bool cut)