Skip to content
Snippets Groups Projects
Commit a7553081 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed small issue with arh reader.

parent b5ad74aa
Branches
Tags
No related merge requests found
......@@ -107,6 +107,8 @@ namespace AMDiS {
ifstream file;
file.open(filename.c_str(), ios::in | ios::binary);
TEST_EXIT(file.is_open())
("Cannot open file %s\n", filename.c_str());
string typeId = "";
uint32_t nMacroElements = 0;
......@@ -119,8 +121,8 @@ namespace AMDiS {
file.read(reinterpret_cast<char*>(&nAllValues), 4);
TEST_EXIT(nValueVectors == vecs.size())
("File has %d vectors, but %d DOFVectors are provided!\n",
nValueVectors, vecs.size());
("File %s has %d vectors, but %d DOFVectors are provided!\n",
filename.c_str(), nValueVectors, vecs.size());
for (unsigned int i = 0; i < nMacroElements; i++) {
uint32_t elIndex = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment