Commit 0e3f8a56 authored by Kenneth Leiter's avatar Kenneth Leiter

ENH: Relax requirement for XdmfSet to contain Name attribute.

parent 06c633a5
......@@ -87,11 +87,6 @@ XdmfSet::populateItem(const std::map<std::string, std::string> & itemProperties,
if(name != itemProperties.end()) {
mName = name->second;
}
else {
XdmfError::message(XdmfError::FATAL,
"'Name' not found in itemProperties in "
"XdmfSet::populateItem");
}
mType = XdmfSetType::New(itemProperties);
for(std::vector<shared_ptr<XdmfItem> >::const_iterator iter =
childItems.begin();
......
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