# HG changeset patch # User Alpar Juttner # Date 1361547866 -3600 # Node ID 2c48ba00fccd59b372592c5b47ca4cf7ab4b58ad # Parent 1fe3b4ad8caa96fc424885da7c4470d8bca87ee3# Parent d32e4453b48c3f344f476f25c2aaf4df3338a539 Merge bugfix #445 to branch 1.2 diff -r 1fe3b4ad8caa -r 2c48ba00fccd lemon/cplex.cc --- a/lemon/cplex.cc Wed Nov 28 12:02:36 2012 +0100 +++ b/lemon/cplex.cc Fri Feb 22 16:44:26 2013 +0100 @@ -40,6 +40,7 @@ CplexEnv::CplexEnv() { int status; _cnt = new int; + (*_cnt) = 1; _env = CPXopenCPLEX(&status); if (_env == 0) { delete _cnt;