Commit 0fa260be authored by Chris Cantwell's avatar Chris Cantwell Committed by Dave Moxey

Fix memory error in StdSegExp::v_ReduceOrderCoeff

(cherry picked from commit 221a10dd)
parent e390b800
......@@ -294,17 +294,11 @@ namespace Nektar
Vmath::Zero(n_coeffs,coeff_tmp,1);
int cnt = 0;
for (int i = 0; i < numMin+1; ++i)
{
Vmath::Vcopy(numMin,
tmp = coeff+cnt,1,
tmp2 = coeff_tmp+cnt,1);
cnt = i*numMax;
}
Vmath::Vcopy(numMin,
tmp = coeff,1,
tmp2 = coeff_tmp,1);
LibUtilities::InterpCoeff1D(
LibUtilities::InterpCoeff1D(
bortho0, coeff_tmp, b0, outarray);
}
......
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