Commit 3054c146 authored by David Rohr's avatar David Rohr
Browse files

fix type, now sum calculation should finally be correct...

parent 2de9b5dc
...@@ -774,7 +774,7 @@ int bioem::createConvolutedProjectionMap(int iMap, int iConv, mycomplex_t* lproj ...@@ -774,7 +774,7 @@ int bioem::createConvolutedProjectionMap(int iMap, int iConv, mycomplex_t* lproj
sumsquareC += localmultFFT[k][0] * localmultFFT[k][0] + localmultFFT[k][1] * localmultFFT[k][1]; sumsquareC += localmultFFT[k][0] * localmultFFT[k][0] + localmultFFT[k][1] * localmultFFT[k][1];
if ((param.param_device.NumberPixels & 1) == 0) if ((param.param_device.NumberPixels & 1) == 0)
{ {
k += param.param_device.NumberFFTPixels1D - 2; k += param.param_device.NumberFFTPixels1D - 1;
sumsquareC += localmultFFT[k][0] * localmultFFT[k][0] + localmultFFT[k][1] * localmultFFT[k][1]; sumsquareC += localmultFFT[k][0] * localmultFFT[k][0] + localmultFFT[k][1] * localmultFFT[k][1];
} }
} }
......
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