Changeset 1111
- Timestamp:
- 05/03/17 14:30:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/array_new.hpp
r1105 r1111 307 307 size_t nbArr = array.numElements(); 308 308 if (nbThis != nbArr) return false; 309 for (size_t idx = 0; idx < nbThis; ++idx) 310 if ((*this)(idx) != array(idx)) return false; 311 309 typename Array<T_numtype,N_rank>::const_iterator itx=array.begin(), itxe=array.end(), ity=this->begin() ; 310 for(;itx!=itxe;++itx,++ity) if (*itx!=*ity) return false ; 312 311 return true; 313 312 }
Note: See TracChangeset
for help on using the changeset viewer.