Commit 7c45ede1 authored by Frank Siegert's avatar Frank Siegert Committed by Enrico Bothmann

Fix uncritical read-in NaN in decay tables.

(cherry picked from commit 766c04ae)
parent 39970fc1
......@@ -156,7 +156,7 @@ void Tools::ExtractBRInfo( std::string entry, double & br,
size_t posa, posb; // start and end of things b/w brackets
size_t posmin; // start of first bracket
std::string sbr, sdbr;
std::string sbr(""), sdbr("");
// extract Delta BR
posa = entry.find("(");
......@@ -164,7 +164,7 @@ void Tools::ExtractBRInfo( std::string entry, double & br,
posmin = posa;
if(posa!=std::string::npos && posb!=std::string::npos)
sdbr = entry.substr(posa+1,posb-posa-1);
else sdbr = "-1.0";
if (sdbr=="") sdbr = "-1.0";
// extract Origin
posa = entry.find("[");
......
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