Commit 789cd8ff authored by Dave Partyka's avatar Dave Partyka
Browse files

COMP: Revert changes that were mistakenly checked in from HEAD.

parent c6bc94b6
......@@ -97,14 +97,13 @@ XdmfAttribute::Build(){
di->SetArray(this->Values);
if(this->Values->GetNumberOfElements() > this->LightDataLimit) di->SetFormat(XDMF_FORMAT_HDF);
di->Build();
this->SetCurrentXdmfElement(di->GetElement(), NULL);
delete di;
}
// PATCH September 09, Ian Curington, HR Wallingford Ltd.
if(this->Units)
{
this->Set("Units", this->GetUnits());
}
if(this->Units)
{
this->Set("Units", this->GetUnits());
}
// end patch
return(XDMF_SUCCESS);
......
Markdown is supported
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