Changeset 21889 for issm/trunk-jpl/src


Ignore:
Timestamp:
07/27/17 16:05:29 (8 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed potential segmentation fault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/AllocateSystemMatricesx/AllocateSystemMatricesx.cpp

    r18521 r21889  
    195195                        /*Reinitialize flags to false*/
    196196                        j=0;
    197                         while(true){
     197                        while(j<localnumnodes){
    198198                                if(flagsindices[j]>=0){
    199199                                        flags[flagsindices[j]] = false;
Note: See TracChangeset for help on using the changeset viewer.