Changeset 1188 for stable


Ignore:
Timestamp:
Jul 8, 2009 8:25:07 AM (10 years ago)
Author:
stefan
Message:

need variable asl for ASL macro in order to have assert working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/BSP/Cbc/src/ClpAmplStuff.cpp

    r1185 r1188  
    690690{
    691691  CbcAmplInfo * info = (CbcAmplInfo *) amplInfo;
     692#ifndef NDEBUG
     693  ASL_pfgh* asl = info->asl_;
     694#endif
     695  // warning: n_var is a macro that assumes we have a variable called asl
    692696  assert(n == n_var);
    693697 
     
    11511155  amplInfo_ = amplInfo;
    11521156  CbcAmplInfo * info = (CbcAmplInfo *) amplInfo_;
     1157#ifndef NDEBUG
     1158  ASL_pfgh* asl = info->asl_;
     1159#endif
     1160  // warning: nlc is a macro that assumes we have a variable called asl
    11531161  assert (rowNumber_<nlc);
    11541162  numberCoefficients_ = info->rowStart_[rowNumber_+1]-info->rowStart_[rowNumber_];
Note: See TracChangeset for help on using the changeset viewer.