Commit 221a10dd authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fix memory error in StdSegExp::v_ReduceOrderCoeff

parent 30f4af0f
......@@ -292,17 +292,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);
}
......
Supports Markdown
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