Changeset 27379


Ignore:
Timestamp:
11/10/22 13:46:13 (2 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing memory issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r27378 r27379  
    15321532                if(this->vertices->common_send[rank]){
    15331533                        int  numids = this->vertices->common_send[rank];
     1534                        xDelete<IssmDouble>(send_buffers[rank]);
     1535                        send_buffers[rank] = xNew<IssmDouble>(numids,"t"); //only one alloc, "t" is required by adolc
    15341536                        for(int i=0;i<numids;i++){
    15351537                                int   master_lid = this->vertices->common_send_ids[rank][i];
Note: See TracChangeset for help on using the changeset viewer.