Changeset 960 for trunk


Ignore:
Timestamp:
May 24, 2013 7:35:37 AM (7 years ago)
Author:
pbelotti
Message:

appropriate constant for compilation on windows

Location:
trunk/Couenne/src/cut/sdpcuts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/cut/sdpcuts/CutGen.cpp

    r958 r960  
    120120      majInd = (i -> first == problem_ -> nVars ()) ? n-1 : indMap [i -> first],
    121121      indJ   = 0;
    122 
    123     //replace with for (k=0; k<i -> second -> getElements () . size (); ++i)
    124122
    125123    for (std::set <CouenneScalar *, CouenneSparseVector::compare_scalars>::const_iterator
  • trunk/Couenne/src/cut/sdpcuts/CutGenSparse.cpp

    r957 r960  
    2121#include "dsyevx_wrapper.hpp"
    2222
    23 #ifdef WIN_
     23#ifdef _WIN32
    2424#define drand48() ((double) (rand () * (RAND_MAX + 1) + rand ()) / (RAND_MAX + 1) * (RAND_MAX + 1))
    2525#endif
Note: See TracChangeset for help on using the changeset viewer.