Changeset 20732


Ignore:
Timestamp:
06/14/16 09:39:43 (9 years ago)
Author:
Mathieu Morlighem
Message:

BUG: oops, deleting wrong pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Matrix/MatrixUtils.cpp

    r20731 r20732  
    5757        /*Depending on the size of incoming matrices, we might need to use a dynamic allocation*/
    5858        if(idima*idimc>600){
    59                 IssmDouble *dtemp_dynamic=xNew<IssmDouble>(idima*idimc);
    60                 dtemp = dtemp_dynamic;
     59                dtemp_dynamic = xNew<IssmDouble>(idima*idimc);
     60                dtemp         = dtemp_dynamic;
    6161        }
    6262        else{
Note: See TracChangeset for help on using the changeset viewer.