Changeset 956 in Sophya for trunk/SophyaLib/TArray/basarr.h


Ignore:
Timestamp:
Apr 17, 2000, 6:56:24 PM (25 years ago)
Author:
ansari
Message:

encore de la doc cmv 17/04/00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/basarr.h

    r926 r956  
    147147protected:
    148148  inline int CheckDI(int ka, int msg) const ;
    149   inline void CheckBound(int ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg) const ;
     149  inline void CheckBound(uint_4 ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg) const ;
    150150  // Changing Sizes/NDim ... return true if OK
    151151  bool UpdateSizes(uint_4 ndim, const uint_4 * siz, uint_4 step, uint_8 offset, string & exmsg);
     
    190190inline int BaseArray::CheckDI(int ka, int msg)  const
    191191{
    192   if ( (ka < 0) || (ka >= ndim_) ) {
     192  if ( (ka < 0) || ((uint_4) ka >= ndim_) ) {
    193193    string txt = "BaseArray::CheckDimensionIndex/Error ";   txt += ck_op_msg_[msg];
    194194    throw(RangeCheckError(txt));
     
    198198
    199199//! to verify the compatibility of the indexes in all dimensions
    200 inline void BaseArray::CheckBound(int ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg)  const
     200inline void BaseArray::CheckBound(uint_4 ix, uint_4 iy, uint_4 iz, uint_4 it, uint_4 iu, int msg)  const
    201201{
    202202  if ( (ix >= size_[0]) || (iy >= size_[1]) || (iz > size_[2]) ||
Note: See TracChangeset for help on using the changeset viewer.