]> www.ginac.de Git - ginac.git/blobdiff - ginac/ex.cpp
- ginac/operators.cpp: added some missing debugmsg()'s, which would have
[ginac.git] / ginac / ex.cpp
index 5c6853a766bb8e9b27bf59b08b3215e0f627b011..474b9fd3e075a6d26180a874334d88522700b83e 100644 (file)
@@ -482,8 +482,10 @@ void ex::construct_from_basic(const basic & other)
         }
     } else {
         if (other.flags & status_flags::dynallocated) {
+            // it's on the heap, so just copy bp:
             bp = &const_cast<basic &>(other);
         } else {
+            // create a duplicate on the heap:
             bp = other.duplicate();
             bp->setflag(status_flags::dynallocated);
         }