Trivial bugfix
authoralpar
Mon, 04 Apr 2005 16:19:29 +0000
changeset 1300d1fc1bf7decc
parent 1299 e2545ef5d7d8
child 1301 1f3baf3bd1f2
Trivial bugfix
src/work/athos/lp/lp_glpk.cc
     1.1 --- a/src/work/athos/lp/lp_glpk.cc	Mon Apr 04 14:46:08 2005 +0000
     1.2 +++ b/src/work/athos/lp/lp_glpk.cc	Mon Apr 04 16:19:29 2005 +0000
     1.3 @@ -271,12 +271,13 @@
     1.4        return INFINITE;
     1.5        break;
     1.6      case LPX_FEAS://Feasible
     1.7 -2      return FEASIBLE;
     1.8 +      return FEASIBLE;
     1.9        break;
    1.10      case LPX_OPT://Feasible
    1.11        return OPTIMAL;
    1.12        break;
    1.13 -    default: ;
    1.14 +    default:
    1.15 +      return UNDEFINED; //to avoid gcc warning
    1.16        //FIXME error
    1.17      }
    1.18    }