Commit 6041ab7c authored by Ben Boeckel's avatar Ben Boeckel

XdmfGridTemplate: use boolean && rather than bitwise &

parent de33a297
......@@ -794,7 +794,7 @@ XdmfGridTemplate::populateItem(const std::map<std::string, std::string> & itemPr
if (array->getName().compare("Data Description") == 0) {
// Split description into substrings based on the " character
if (array->getNumberHeavyDataControllers() > 0 & !mHeavyWriter) {
if (array->getNumberHeavyDataControllers() > 0 && !mHeavyWriter) {
mHeavyWriter = reader->generateHeavyDataWriter(array->getHeavyDataController(0)->getName(), array->getHeavyDataController(0)->getFilePath());
}
......
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