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

vectors: function zsl_vec_zte, missing (-) in if statement #46

Open
ruehlchris opened this issue Jan 25, 2023 · 0 comments · May be fixed by #51
Open

vectors: function zsl_vec_zte, missing (-) in if statement #46

ruehlchris opened this issue Jan 25, 2023 · 0 comments · May be fixed by #51

Comments

@ruehlchris
Copy link

(v->data[g - x] <= 0.0 && v->data[g - x] > epsilon)) {

the logic check for the right hand side never match because it check for x <= 0.0 && x > epsilon.
correction x<=0.0 && x > (-) epsilon.

if ((v->data[g - x] >= 0.0 && v->data[g - x] < epsilon) || (v->data[g - x] <= 0.0 && v->data[g - x] > -epsilon)) {

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

Successfully merging a pull request may close this issue.

1 participant