summaryrefslogtreecommitdiff
path: root/impl/EquationSystem.hpp
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-09 17:09:49 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-09 17:09:49 +1000
commit5cdc743d491a04ee0446bd757cedb4c7b6bc585f (patch)
treef9096fd6a5b8c8c9ec33719158a3d7ffdf3b25df /impl/EquationSystem.hpp
parent8040a5fd511912cb2141e46e5ca9eb1ab766133e (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.hpp3
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) {