Changeset 22362


Ignore:
Timestamp:
01/18/18 09:25:28 (7 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed problem with counter, we had several constraints with the same ID

File:
1 edited

Legend:

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

    r22077 r22362  
    628628        }
    629629
     630        /*Update counter now since we have added some constraints*/
     631        iomodel->constraintcounter = constraints->NumberOfConstraints();
     632
    630633        /*Free ressources:*/
    631634        xDelete<IssmDouble>(times);
     
    771774        }
    772775
     776        /*Update counter now since we have added some constraints*/
     777        iomodel->constraintcounter = constraints->NumberOfConstraints();
     778
    773779        /*Free ressources:*/
    774780        xDelete<IssmDouble>(times);
Note: See TracChangeset for help on using the changeset viewer.