Skip to content
Snippets Groups Projects
Commit 9680f9ac authored by Alexander Pace's avatar Alexander Pace
Browse files

explicitly set arithmetic in gstlal_interpolator

parent ae593fff
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,8 @@ void resample(float *output, gsl_vector_float **thiskernel, float *input, guint
for (guint samp = 0; samp < blockstrideout; samp++) {
kernel_offset = samp % factor;
output_offset = samp * channels;
input_offset = samp / factor * channels;
input_offset = samp / factor;
input_offset *= channels;
convolve(output + output_offset, thiskernel[kernel_offset], input + input_offset, kernel_length, channels);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment