Commit 7575f488 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fixes

parent 080eaf15
......@@ -1569,9 +1569,14 @@ cout << endl;
fct = 1./(w_supp*fct);
size_t i2 = nx_dirty-i, j2 = ny_dirty-j;
accum[ny_dirty*i+j]*=fct;
accum[ny_dirty*i2+j]*=fct;
accum[ny_dirty*i2+j2]*=fct;
accum[ny_dirty*i+j2]*=fct;
if ((i>0)&&(i<i2))
{
accum[ny_dirty*i2+j]*=fct;
if ((j>0)&&(j<j2))
accum[ny_dirty*i2+j2]*=fct;
}
if ((j>0)&&(j<j2))
accum[ny_dirty*i+j2]*=fct;
}
}
}
......
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