source: issm/oecreview/Archive/23390-24306/ISSM-23547-23548.diff@ 24307

Last change on this file since 24307 was 24307, checked in by Mathieu Morlighem, 5 years ago

NEW: adding Archive/23390-24306

File size: 536 bytes
  • ../trunk-jpl/src/c/datastructures/DataSet.cpp

     
    437437                for(int i=0;i<objects.size();i++){
    438438                        id_offsets[i]=i;
    439439                        sorted_ids[i]=objects[i]->Id();
     440
     441                        /*In debugging mode, make sure Ids are ACTUALLY sorted...*/
     442                        #ifdef _ISSM_DEBUG_
     443                        if(i>0) _assert_(sorted_ids[i]>sorted_ids[i-1]);
     444                        #endif
    440445                }
    441446        }
    442447
Note: See TracBrowser for help on using the repository browser.