Changeset 3315
- Timestamp:
- 03/22/10 11:36:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Bamgx/objects/Triangles.cpp
r3312 r3315 670 670 if(verbose>5) printf(" writing element edges\n"); 671 671 SetOfEdges4* edge4=new SetOfEdges4(nbt*3,nbv); 672 double* elemedge=new double[3*nbt]; 672 double* elemedge=NULL; 673 elemedge=(double*)xmalloc(3*nbt*sizeof(double)); 673 674 for (i=0;i<3*nbt;i++) elemedge[i]=NAN; 674 675 k=0; … … 704 705 //clean up 705 706 delete edge4; 706 delete elemedge;707 xfree((void**)&elemedge); 707 708 708 709 //Segments
Note:
See TracChangeset
for help on using the changeset viewer.