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
......@@ -183,9 +183,16 @@ namespace Nektar
m_f->m_exp[i] = m_f->AppendExpList(vars[i]);
}
else
{
if(vars.size())
{
m_f->m_exp[i] = m_f->AppendExpList(vars[0]);
}
else
{
m_f->m_exp[i] = m_f->AppendExpList();
}
}
}
for (int j = 0; j < nfields; ++j)
......
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