Commit b11b5427 authored by Spencer Sherwin's avatar Spencer Sherwin

Bug fix to sort out call to vars[0] when vars not defined

parent a9912e76
...@@ -184,7 +184,14 @@ namespace Nektar ...@@ -184,7 +184,14 @@ namespace Nektar
} }
else else
{ {
m_f->m_exp[i] = m_f->AppendExpList(vars[0]); if(vars.size())
{
m_f->m_exp[i] = m_f->AppendExpList(vars[0]);
}
else
{
m_f->m_exp[i] = m_f->AppendExpList();
}
} }
} }
......
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