Commit 8e32d451 authored by Dave Moxey's avatar Dave Moxey

Merge branch 'fix/tri-geom-curved' of /opt/gitlab/repositories/nektar

parents 928c1202 db4c5d36
......@@ -263,7 +263,8 @@ namespace Nektar
MemoryManager<StdRegions::StdNodalTriExp>::AllocateSharedPtr(
T0, T1, curve->m_ptype);
Array<OneD, NekDouble> phys(t->GetTotPoints());
Array<OneD, NekDouble> phys(max(t->GetTotPoints(),
m_xmap->GetTotPoints()));
for (int j = 0; j < N; ++j)
{
phys[j] = (curve->m_points[j]->GetPtr())[i];
......
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