Ignore:
Timestamp:
06/26/13 07:22:28 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: use Contour constructor instead of xNew otherwise delete contours will crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/MeshProfileIntersection/MeshProfileIntersection.cpp

    r15106 r15335  
    3636        /* required input: */
    3737        //mesh
    38         double* double_index=NULL;
    39         int*    index=NULL;
     38        double *double_index = NULL;
     39        int    *index        = NULL;
    4040        int     nel;
    41         double* x=NULL;
    42         double* y=NULL;
     41        double *x            = NULL;
     42        double *y            = NULL;
    4343        int     nods;
    4444        int     dummy;
    4545
    4646        //contours
    47         DataSet          *domain      = NULL;
     47        Contours         *domain      = NULL;
    4848        Contour<double> **contours=NULL;
    4949        int               numcontours;
Note: See TracChangeset for help on using the changeset viewer.