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

Matlab gpufit_constrained wrong input check #83

Closed
AlanMiranda opened this issue Oct 12, 2020 · 1 comment
Closed

Matlab gpufit_constrained wrong input check #83

AlanMiranda opened this issue Oct 12, 2020 · 1 comment
Assignees
Labels

Comments

@AlanMiranda
Copy link

I noticed that the inputs check in the matlab function "gpufit_constrained" is incorrect. When user_info is supplied, it is ignored because the condition "if nargin < 12" should be "if nargin < 11" in order to not initialize the user_info with an empty array. The rest of the nargin checks need to be corrected as well by substracting one to the nargin value check. After these corrections the function works correctly.

@jkfindeisen jkfindeisen self-assigned this Apr 14, 2021
@jkfindeisen
Copy link
Collaborator

You're right. I fixed it in the last commit.

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

No branches or pull requests

3 participants