[Lemon-commits] Balazs Dezso: Fix glp_prob definition (#286)

Lemon HG hg at lemon.cs.elte.hu
Thu May 7 13:25:24 CEST 2009


details:   http://lemon.cs.elte.hu/hg/lemon/rev/a8dfe89b7719
changeset: 692:a8dfe89b7719
user:      Balazs Dezso <deba [at] inf.elte.hu>
date:      Thu May 07 11:53:49 2009 +0200
description:
	Fix glp_prob definition (#286)

diffstat:

 lemon/glpk.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (16 lines):

diff --git a/lemon/glpk.h b/lemon/glpk.h
--- a/lemon/glpk.h
+++ b/lemon/glpk.h
@@ -26,9 +26,10 @@
 #include <lemon/lp_base.h>
 
 // forward declaration
-#ifndef _GLP_PROB
+#if !defined _GLP_PROB && !defined GLP_PROB
 #define _GLP_PROB
-typedef struct { double _prob; } glp_prob;
+#define GLP_PROB
+typedef struct { double _opaque_prob; } glp_prob;
 /* LP/MIP problem object */
 #endif
 



More information about the Lemon-commits mailing list