Skip to content
Snippets Groups Projects
Commit 265672d2 authored by Corentin Allaire's avatar Corentin Allaire
Browse files

fix bug in JsonGeometryConverter

parent 62ca1f53
No related branches found
No related tags found
1 merge request!765fix bug in JsonGeometryConverter
Pipeline #1408204 passed
......@@ -56,7 +56,7 @@ class JsonGeometryConverter {
/// The LayerRep is actually worth it to write out
operator bool() const {
return (sensitives.empty() or approaches.empty() or
return (!sensitives.empty() or !approaches.empty() or
representing != nullptr);
}
};
......@@ -76,7 +76,7 @@ class JsonGeometryConverter {
/// The VolumeRep is actually worth it to write out
operator bool() const {
return (layers.empty() or boundaries.empty() or material != nullptr);
return (!layers.empty() or !boundaries.empty() or material != nullptr);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment