Ticket #445: bbc66109add0.patch
File bbc66109add0.patch, 510 bytes (added by , 12 years ago) |
---|
-
lemon/cplex.cc
# HG changeset patch # User Alpar Juttner <alpar@cs.elte.hu> # Date 1342812197 -7200 # Node ID bbc66109add0444ad1e78ab4c9d9ddad222b8639 # Parent 7440937d154b70e90a0d50c77c97ee5f4a86ba87 Fix missing initialization in CplexEnv::CplexEnv() (#445) diff --git a/lemon/cplex.cc b/lemon/cplex.cc
a b 40 40 CplexEnv::CplexEnv() { 41 41 int status; 42 42 _cnt = new int; 43 (*_cnt) = 1; 43 44 _env = CPXopenCPLEX(&status); 44 45 if (_env == 0) { 45 46 delete _cnt;