Commit 66d0e4ed authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

Ainur: throw corrected

parent 7a07e9e5
......@@ -255,8 +255,9 @@ private:
{
try {
t = PsimagLite::atoi(label.c_str());
} catch (...) {
err("FATAL: AinurState: Label " + label + " must be an integer\n");
} catch (std::exception& e) {
std::cerr<<"FATAL: AinurState: Label " + label + " must be an integer\n";
throw e.what();
}
}
......
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