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

Fancy initial conditions break, resort to basic Initial conditions #223

Closed
odunbar opened this issue Oct 21, 2022 · 0 comments · Fixed by #224
Closed

Fancy initial conditions break, resort to basic Initial conditions #223

odunbar opened this issue Oct 21, 2022 · 0 comments · Fixed by #224
Assignees

Comments

@odunbar
Copy link
Collaborator

odunbar commented Oct 21, 2022

Problem

Some fairly straightforward calls of e.g.

x = constrained_gaussian("name",0.7,.15,0.01,10.0)

Will throw an error in the function

function _constrained_gaussian_guess(μ_c::Real, σ_c::Real, lower_bound::Real, upper_bound::Real)

Simple fix

The simple fix is to replace L955

init_μ_u, init_σ_u = _constrained_gaussian_guess(μ_c, σ_c, lower_bound, upper_bound)

with

init_μ_u, init_σ_u = (0.0,1.0)
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.

2 participants