COIN-OR::LEMON - Graph Library

Ticket #445: bbc66109add0.patch

File bbc66109add0.patch, 510 bytes (added by Alpar Juttner, 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  
    4040  CplexEnv::CplexEnv() {
    4141    int status;
    4242    _cnt = new int;
     43    (*_cnt) = 1;
    4344    _env = CPXopenCPLEX(&status);
    4445    if (_env == 0) {
    4546      delete _cnt;