[GIT] ppl/ppl(pip): Fixed a bug in PIP_Problem copy constructor.
Module: ppl/ppl Branch: pip Commit: 407ea63b7d301cad08af571b493ccde596414a86 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=407ea63b7d301... Author: François Galea <francois.galea@uvsq.fr> Date: Mon Nov 16 18:23:58 2009 +0100 Fixed a bug in PIP_Problem copy constructor. --- src/PIP_Problem.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/PIP_Problem.cc b/src/PIP_Problem.cc index 81a79b1..6c98a3f 100644 --- a/src/PIP_Problem.cc +++ b/src/PIP_Problem.cc @@ -64,8 +64,8 @@ PPL::PIP_Problem::PIP_Problem(const PIP_Problem &y) big_parameter_dimension(y.big_parameter_dimension) { if (y.current_solution != 0) current_solution = y.current_solution->clone(); - PPL_ASSERT(OK()); control_parameters_copy(y); + PPL_ASSERT(OK()); } PPL::PIP_Problem::~PIP_Problem() {
participants (1)
-
François Galea