Ignore:
Timestamp:
Aug 20, 2007 12:05:19 AM (13 years ago)
Author:
andreasw
Message:

merging changes from Bug Squashing Party Aug 2007 to regular trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpGubDynamicMatrix.cpp

    r1054 r1088  
    107107  CoinBigIndex numberElements = startColumn_[numberGubColumns_];
    108108  row_ = ClpCopyOfArray(row,numberElements);
    109   element_ = new float[numberElements];
     109  element_ = new double[numberElements];
    110110  CoinBigIndex i;
    111111  for (i=0;i<numberElements;i++)
    112112    element_[i]=element[i];
    113   cost_ = new float[numberGubColumns_];
     113  cost_ = new double[numberGubColumns_];
    114114  for (i=0;i<numberGubColumns_;i++) {
    115115    cost_[i]=cost[i];
     
    118118  }
    119119  if (lowerColumn) {
    120     lowerColumn_ = new float[numberGubColumns_];
     120    lowerColumn_ = new double[numberGubColumns_];
    121121    for (i=0;i<numberGubColumns_;i++)
    122122      lowerColumn_[i]=lowerColumn[i];
     
    125125  }
    126126  if (upperColumn) {
    127     upperColumn_ = new float[numberGubColumns_];
     127    upperColumn_ = new double[numberGubColumns_];
    128128    for (i=0;i<numberGubColumns_;i++)
    129129      upperColumn_[i]=upperColumn[i];
     
    132132  }
    133133  if (upperColumn||lowerColumn) {
    134     lowerSet_ = new float[numberSets_];
     134    lowerSet_ = new double[numberSets_];
    135135    for (i=0;i<numberSets_;i++) {
    136136      if (lower[i]>-1.0e20)
     
    139139        lowerSet_[i] = -1.0e30;
    140140    }
    141     upperSet_ = new float[numberSets_];
     141    upperSet_ = new double[numberSets_];
    142142    for (i=0;i<numberSets_;i++) {
    143143      if (upper[i]<1.0e20)
Note: See TracChangeset for help on using the changeset viewer.