-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get out of this range, from the mean vector #93
Labels
Comments
supra/src/SupraLib/Beamformer/RxBeamformerMVpcg.cu Lines 225 to 229 in 70bc6d9
can this change to, not sure
|
Thanks for the feedback! With how the means are computed
for each sample it computes the mean signal in the sliding subaperture. So it is of length subArraySize at max (per sample). (specifically of subArraySizeLocal, but the stride is subArraySize). So the lines you mention are wrong indeed.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
supra/src/SupraLib/Beamformer/RxBeamformerMVpcg.cu
Line 225 in 70bc6d9
I think this line need change to:
if ((subtractMeans) && ((offset + colIdx) < subArraySizeLocal))
if not, index
offset + colIdx
will out of subArraySizeLocal, and will get the next line's mean valueThe text was updated successfully, but these errors were encountered: