Ignore:
Timestamp:
Apr 29, 2011 2:06:50 PM (9 years ago)
Author:
stefan
Message:

apply fixes for compiler warnings send by Alpar Juettner:

  • Every appearance of DBL_MAX was replaced by COIN_DBL_MAX.
  • The unused parameter warnings were resolved by removing their names from the declaration.
  • Finally, I weeded out all the old-style casts from the code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/Cbc_ampl.cpp

    r1432 r1643  
    471471        columnLower = (double *) malloc(n_var * sizeof(double));
    472472        columnUpper = (double *) malloc(n_var * sizeof(double));
    473 #define COIN_DBL_MAX DBL_MAX
    474473        for (i = 0; i < n_var; i++) {
    475474            columnLower[i] = LUv[2*i];
     
    934933        columnLower = (double *) malloc(n_var * sizeof(double));
    935934        columnUpper = (double *) malloc(n_var * sizeof(double));
    936 #define COIN_DBL_MAX DBL_MAX
    937935        for (i = 0; i < n_var; i++) {
    938936            columnLower[i] = LUv[2*i];
Note: See TracChangeset for help on using the changeset viewer.