Changeset 2006
- Timestamp:
- 08/27/09 10:59:02 (16 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r1904 r2006 1228 1228 } 1229 1229 if(id_offsets){ 1230 copy-> sorted_ids=(int*)xmalloc(objects.size()*sizeof(int));1231 memcpy(copy-> sorted_ids,id_offsets,objects.size()*sizeof(int));1230 copy->id_offsets=(int*)xmalloc(objects.size()*sizeof(int)); 1231 memcpy(copy->id_offsets,id_offsets,objects.size()*sizeof(int)); 1232 1232 } 1233 1233 -
issm/trunk/src/c/parallel/diagnostic_core_nonlinear.cpp
r1965 r2006 150 150 151 151 } 152 152 153 153 /*Delete loads only if no ouput was requested: */ 154 154 if(!input_loads)delete loads; … … 158 158 VecFree(&old_uf); 159 159 VecFree(&old_ug); 160 delete solver_string;160 xfree((void**)&solver_string); 161 161 162 162 /*Assign output pointers: */
Note:
See TracChangeset
for help on using the changeset viewer.