diff options
Diffstat (limited to 'impl/EquationSystem.hpp')
-rw-r--r-- | impl/EquationSystem.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/impl/EquationSystem.hpp b/impl/EquationSystem.hpp index c7e5f4c..f5f87c3 100644 --- a/impl/EquationSystem.hpp +++ b/impl/EquationSystem.hpp @@ -28,8 +28,7 @@ struct EquationSystem { ++it) { delete *it; } - if (_expr_to_var) - delete _expr_to_var; + delete _expr_to_var; } MaxExpression<Domain>& maxExpression(const std::vector<Expression<Domain>*>& arguments) { |