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

Variable hi is unused #382

Open
billdenney opened this issue Jul 27, 2023 · 0 comments
Open

Variable hi is unused #382

billdenney opened this issue Jul 27, 2023 · 0 comments

Comments

@billdenney
Copy link
Contributor

In this part of npde.cpp, the variable hi is assigned, but it is not used for part of the return value of the function. I'm not sure if I'm reading the function correctly, but it seems like either the variable should be used or the lines should be removed (or I'm missing something).

nlmixr2est/src/npde.cpp

Lines 149 to 150 in 74a732e

if (j+1 == K) hi = 2*low - curRow[j-1];
else hi = curRow[j+1];

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