You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since it's an integer expression, it's doing integer arithmetic, which means truncating the result of a division. I think the intention of this code is to calculate the center of the channel and in that case it should be doing a floating point division.
There's a similar issue in the upchannelizing version of the code and perhaps elsewhere.
The text was updated successfully, but these errors were encountered:
I think there's a bug in the code that calculates the center frequencies of the coarse channels - https://github.com/UCBerkeleySETI/hpguppi_proc/blob/mark_r/src/hpguppi_coherent_bf_thread.c#L384
Basically this expression:
since it's an integer expression, it's doing integer arithmetic, which means truncating the result of a division. I think the intention of this code is to calculate the center of the channel and in that case it should be doing a floating point division.
There's a similar issue in the upchannelizing version of the code and perhaps elsewhere.
The text was updated successfully, but these errors were encountered: