Commit 18d41929 authored by Praetorius, Simon's avatar Praetorius, Simon

intel/2017 problem with std::ifstream

parent 16ad3fa7
......@@ -529,8 +529,8 @@ namespace AMDiS { namespace Parallel {
if (filename != "") {
MSG("Read macro weights from %s\n", filename.c_str());
ifstream infile;
infile.open(filename.c_str(), ifstream::in);
std::ifstream infile;
infile.open(filename.c_str(), std::ifstream::in);
while (!infile.eof()) {
int elNum, elWeight;
infile >> elNum;
......@@ -656,7 +656,7 @@ namespace AMDiS { namespace Parallel {
filename);
filename += ".p" + lexical_cast<string>(mpiRank);
MSG("Start deserialization with %s\n", filename.c_str());
ifstream in(filename.c_str());
std::ifstream in(filename.c_str());
TEST_EXIT(!in.fail())("Could not open deserialization file: %s\n",
filename.c_str());
......
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