Browse Source

Fixed bug in cloning of negated formulas.

tempestpy_adaptions
dehnert 12 years ago
parent
commit
f787044ece
  1. 2
      src/formula/Not.h

2
src/formula/Not.h

@ -113,7 +113,7 @@ public:
virtual AbstractStateFormula<T>* clone() const { virtual AbstractStateFormula<T>* clone() const {
Not<T>* result = new Not<T>(); Not<T>* result = new Not<T>();
if (child != NULL) { if (child != NULL) {
result->setChild(child);
result->setChild(child->clone());
} }
return result; return result;
} }

Loading…
Cancel
Save