Commit d85b5f1a authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

print an error message for erroneous equations when compiled with RELEASE

parent be4a2651
......@@ -80,7 +80,7 @@ namespace Nektar
{
m_expr_id = -1;
std::string msg(std::string("Equation::Equation() fails on expression [") + m_expr + std::string("]\n"));
ASSERTL1(false, msg);
ASSERTL0(false, msg);
throw e;
return;
}
......@@ -88,7 +88,7 @@ namespace Nektar
{
m_expr_id = -1;
std::string msg(std::string("Equation::Equation() fails on expression [") + m_expr + std::string("]\n"));
ASSERTL1(false, msg);
ASSERTL0(false, msg);
throw e;
return;
}
......
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