Skip to content
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

scalarBandSWA code potential error #17

Open
JustKshitijD opened this issue Mar 1, 2024 · 0 comments
Open

scalarBandSWA code potential error #17

JustKshitijD opened this issue Mar 1, 2024 · 0 comments

Comments

@JustKshitijD
Copy link

In scalarBandSWA code, shouldn't this line - (M = M? M + sc : 0;) be (M = (M+sc>0)? M + sc : 0;)
,i.e, we want to do - _H[i,j]=max(H[i-1,j-1]+S(i,j) ,0), but it seems that we are doing -
H[i-1,j-1]==0 ? (H[i,j]=0):(H[i,j]=H[i-1,j-1]+S(i,j))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant