basic::~basic()
{
debugmsg("basic destructor", LOGLEVEL_DESTRUCT);
- destroy(0);
+ destroy(false);
GINAC_ASSERT((!(flags & status_flags::dynallocated))||(refcount==0));
}
{
debugmsg("basic operator=", LOGLEVEL_ASSIGNMENT);
if (this != &other) {
- destroy(1);
+ destroy(true);
copy(other);
}
return *this;
ex ndiff = this->derivative(s);
while (!ndiff.is_zero() && // stop differentiating zeros
- nth>1) {
+ nth>1) {
ndiff = ndiff.diff(s);
--nth;
}