Ignore:
Timestamp:
Aug 14, 2017 4:50:39 AM (2 years ago)
Author:
forrest
Message:

change some ints to CoinBigIndex?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpParameters.hpp

    r2046 r2271  
    8282/// Copy (I don't like complexity of Coin version)
    8383template <class T> inline void
    84 ClpDisjointCopyN( const T * array, const int size, T * newArray)
     84ClpDisjointCopyN( const T * array, const CoinBigIndex size, T * newArray)
    8585{
    8686     memcpy(reinterpret_cast<void *> (newArray), array, size * sizeof(T));
     
    8888/// And set
    8989template <class T> inline void
    90 ClpFillN( T * array, const int size, T value)
     90ClpFillN( T * array, const CoinBigIndex size, T value)
    9191{
    92      int i;
     92     CoinBigIndex i;
    9393     for (i = 0; i < size; i++)
    9494          array[i] = value;
     
    9696/// This returns a non const array filled with input from scalar or actual array
    9797template <class T> inline T*
    98 ClpCopyOfArray( const T * array, const int size, T value)
     98ClpCopyOfArray( const T * array, const CoinBigIndex size, T value)
    9999{
    100100     T * arrayNew = new T[size];
     
    108108/// This returns a non const array filled with actual array (or NULL)
    109109template <class T> inline T*
    110 ClpCopyOfArray( const T * array, const int size)
     110ClpCopyOfArray( const T * array, const CoinBigIndex size)
    111111{
    112112     if (array) {
Note: See TracChangeset for help on using the changeset viewer.