Commit f45f2d7a authored by Ben Boeckel's avatar Ben Boeckel

XdmfTopology: fix copy-pasta

The code was useless before since it declared a variable that
immediately left the scope.
parent ae2fb300
......@@ -170,8 +170,7 @@ XdmfTopology::populateItem(const std::map<std::string, std::string> & itemProper
std::map<std::string, std::string>::const_iterator type =
itemProperties.find("Offset");
if (type != itemProperties.end()) {
std::map<std::string, std::string>::const_iterator type =
itemProperties.find("BaseOffset");
type = itemProperties.find("BaseOffset");
}
if (type != itemProperties.end()) {
// Convert to double
......
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