From 5cdc743d491a04ee0446bd757cedb4c7b6bc585f Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Mon, 9 Jul 2012 17:09:49 +1000 Subject: Cleaning up a bit of code around the place. - Especially making logging a bit nicer. --- impl/EquationSystem.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'impl/EquationSystem.hpp') 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& maxExpression(const std::vector*>& arguments) { -- cgit v1.2.3