diff options
author | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-07-09 17:09:49 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-07-09 17:09:49 +1000 |
commit | 5cdc743d491a04ee0446bd757cedb4c7b6bc585f (patch) | |
tree | f9096fd6a5b8c8c9ec33719158a3d7ffdf3b25df /impl/EquationSystem.hpp | |
parent | 8040a5fd511912cb2141e46e5ca9eb1ab766133e (diff) |
Cleaning up a bit of code around the place.
- Especially making logging a bit nicer.
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) { |