Commit 8c423cb2 authored by Jerry Clarke's avatar Jerry Clarke
Browse files

Coordinates were not used

parent 4c731155
...@@ -342,7 +342,7 @@ XdmfInt32 XdmfArray::ReformFromSelection( XdmfDataDesc *DataDesc) { ...@@ -342,7 +342,7 @@ XdmfInt32 XdmfArray::ReformFromSelection( XdmfDataDesc *DataDesc) {
this->SelectAll(); this->SelectAll();
} else { } else {
XdmfInt64 NumberOfCoordinates; XdmfInt64 NumberOfCoordinates;
XdmfInt64 *Coordinates; // XdmfInt64 *Coordinates;
// Select Parametric Coordinates from HDF5 // Select Parametric Coordinates from HDF5
...@@ -350,7 +350,7 @@ XdmfInt32 XdmfArray::ReformFromSelection( XdmfDataDesc *DataDesc) { ...@@ -350,7 +350,7 @@ XdmfInt32 XdmfArray::ReformFromSelection( XdmfDataDesc *DataDesc) {
NumberOfCoordinates = DataDesc->GetSelectionSize(); NumberOfCoordinates = DataDesc->GetSelectionSize();
XdmfDataDesc::SetNumberOfElements(NumberOfCoordinates); XdmfDataDesc::SetNumberOfElements(NumberOfCoordinates);
this->SelectAll(); this->SelectAll();
delete Coordinates; // delete Coordinates;
} }
return( XDMF_SUCCESS ); return( XDMF_SUCCESS );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment