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

Bug: if get_initial_parameter_guesses is passed parameter_ranges of size 1, max of -inf is returned #4

Open
ahillsley opened this issue May 3, 2023 · 2 comments

Comments

@ahillsley
Copy link
Collaborator

No description provided.

@ahillsley
Copy link
Collaborator Author

if parameter_ranges only contains repeats of the same value for each parameter, then an empty array is returned

@ahillsley
Copy link
Collaborator Author

Fixed by changing values[1:] to np.isfinite(values) in the find local maxima function. Problem was that for uniform parameter_ranges, values only contained a single number, thus returning an empty array

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