Changeset 23520


Ignore:
Timestamp:
12/07/18 20:16:37 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing xDelete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Vertices.cpp ΒΆ

    r23518 r23520  
    3737        int num_proc=IssmComm::GetSize();
    3838
    39         if(common_recv); xDelete<int>(common_recv);
    40         if(common_send); xDelete<int>(common_send);
     39        if(common_recv) xDelete<int>(common_recv);
     40        if(common_send) xDelete<int>(common_send);
    4141        if(common_recv_ids){
    4242                for(int i=0;i<num_proc;i++) if(common_recv_ids[i]) xDelete<int>(common_recv_ids[i]);
Note: See TracChangeset for help on using the changeset viewer.