Ignore:
Timestamp:
Aug 9, 2007 3:51:21 PM (13 years ago)
Author:
jpfasano
Message:

Modified to remove MS Compiler messages:

ClpDynamicMatrix?.cpp
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(182) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(185) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(192) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(199) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(206) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(208) : warning C4305: '=' : truncation from 'double' to 'float'
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(213) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicmatrix.cpp(215) : warning C4305: '=' : truncation from 'double' to 'float'
ClpDynamicExampleMatrix?.cpp
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(126) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(129) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(136) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(148) : warning C4244: '=' : conversion from 'const double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(189) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(209) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(341) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(362) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
d:\coin\coinall-trunk\clp\src\clpdynamicexamplematrix.cpp(650) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data

Attempted to follow John's instructions/guidance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BSP/trunk/Clp/src/ClpDynamicExampleMatrix.hpp

    r1055 r1072  
    7474                          const double * lower, const double * upper,
    7575                          int * startColumn, int * row,
    76                           float * element, float * cost,
    77                           float * columnLower=NULL, float * columnUpper=NULL,
     76                          double * element, double * cost,
     77                          double * columnLower=NULL, double * columnUpper=NULL,
    7878                          const unsigned char * status=NULL,
    7979                          const unsigned char * dynamicStatus=NULL,
     
    101101  { return rowGen_;}
    102102  /// elements
    103   inline float * elementGen() const
     103  inline double * elementGen() const
    104104  { return elementGen_;}
    105105  /// costs
    106   inline float * costGen() const
     106  inline double * costGen() const
    107107  { return costGen_;}
    108108  /// full starts
     
    113113  { return idGen_;}
    114114  /// Optional lower bounds on columns
    115   inline float * columnLowerGen() const
     115  inline double * columnLowerGen() const
    116116  { return columnLowerGen_;}
    117117  /// Optional upper bounds on columns
    118   inline float * columnUpperGen() const
     118  inline double * columnUpperGen() const
    119119  { return columnUpperGen_;}
    120120  /// size
     
    153153  int * rowGen_;
    154154  /// elements
    155   float * elementGen_;
     155  double * elementGen_;
    156156  /// costs
    157   float * costGen_;
     157  double * costGen_;
    158158  /// start of each set
    159159  int * fullStartGen_;
     
    165165  int * idGen_;
    166166  /// Optional lower bounds on columns
    167   float * columnLowerGen_;
     167  double * columnLowerGen_;
    168168  /// Optional upper bounds on columns
    169   float * columnUpperGen_;
     169  double * columnUpperGen_;
    170170   //@}
    171171};
Note: See TracChangeset for help on using the changeset viewer.