Commit 3ce6a86d authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Initialise to zero coeff and phys arrays in ExpList.

parent 2fa1ff59
......@@ -178,8 +178,8 @@ namespace Nektar
if(DeclareCoeffPhysArrays)
{
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);
}
}
......
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