git://www.ginac.de
/
ginac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- ginac/operators.cpp: added some missing debugmsg()'s, which would have
[ginac.git]
/
ginac
/
ex.cpp
diff --git
a/ginac/ex.cpp
b/ginac/ex.cpp
index 5c6853a766bb8e9b27bf59b08b3215e0f627b011..474b9fd3e075a6d26180a874334d88522700b83e 100644
(file)
--- a/
ginac/ex.cpp
+++ b/
ginac/ex.cpp
@@
-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);
}