COIN-OR::LEMON - Graph Library

Ticket #286: a8dfe89b7719.patch

File a8dfe89b7719.patch, 676 bytes (added by Balazs Dezso, 16 years ago)
  • lemon/glpk.h

    # HG changeset patch
    # User Balazs Dezso <deba@inf.elte.hu>
    # Date 1241690029 -7200
    # Node ID a8dfe89b7719977214e95394a54fd1e2c588baf4
    # Parent  e01957e96c6796a11d9f3bbf751eea8ae274221c
    Fix glp_prob definition (#286)
    
    diff -r e01957e96c67 -r a8dfe89b7719 lemon/glpk.h
    a b  
    2626#include <lemon/lp_base.h>
    2727
    2828// forward declaration
    29 #ifndef _GLP_PROB
     29#if !defined _GLP_PROB && !defined GLP_PROB
    3030#define _GLP_PROB
    31 typedef struct { double _prob; } glp_prob;
     31#define GLP_PROB
     32typedef struct { double _opaque_prob; } glp_prob;
    3233/* LP/MIP problem object */
    3334#endif
    3435