Commit d4038f5a authored by Douglas Serson's avatar Douglas Serson

Fix bug in ExpList2DH1D

parent f88f7967
......@@ -168,8 +168,8 @@ namespace Nektar
m_ncoeffs = ncoeffs_per_plane*nzplanes;
m_npoints = npoints_per_plane*nzplanes;
m_coeffs = Array<OneD, NekDouble> (m_ncoeffs);
m_phys = Array<OneD, NekDouble> (m_npoints);
m_coeffs = Array<OneD, NekDouble> (m_ncoeffs, 0.0);
m_phys = Array<OneD, NekDouble> (m_npoints, 0.0);
int nel = m_planes[0]->GetExpSize();
m_coeff_offset = Array<OneD,int>(nel*nzplanes);
......
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