Changeset 767 for trunk


Ignore:
Timestamp:
Aug 20, 2007 6:02:12 PM (12 years ago)
Author:
jpfasano
Message:

Fix to assert failure occurring when running cbcCSosDllSample. Fix from Bob Entriken.

File:
1 edited

Legend:

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

    r713 r767  
    155155    int i;
    156156    int nDouble=numberDoubleFields();
    157     assert (nDouble<=20);
    158     double vDouble[20];
     157    assert (nDouble<=200);
     158    double vDouble[200];
    159159    for (i=0;i<nDouble;i++)
    160160      vDouble[i]=doubleValue(i);
    161161    int nInt=numberIntFields();
    162     assert (nInt<=20);
    163     int vInt[20];
     162    assert (nInt<=200);
     163    int vInt[200];
    164164    for (i=0;i<nInt;i++)
    165165      vInt[i]=intValue(i);
    166166    int nString=numberStringFields();
    167     assert (nString<=20);
    168     char * vString[20];
     167    assert (nString<=200);
     168    char * vString[200];
    169169    for (i=0;i<nString;i++) {
    170170      std::string value = stringValue(i);
Note: See TracChangeset for help on using the changeset viewer.