Commit 43b407bb authored by Mike Kremer's avatar Mike Kremer
Browse files

Corrected detection of hexahedral meshes in case no cells are defined.

git-svn-id: 66977474-1d4b-4f09-8fe9-267525286df2
parent 05a00596
......@@ -166,6 +166,7 @@ bool FileManager::isHexahedralMesh(const std::string& _filename) const {
// Read in number of cells
iff >> n;
if(n == 0) return false;
unsigned int v = 0;
char tmp[256];
for (unsigned int i = 0; i < n; ++i) {
Supports Markdown
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