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] burst_def bug #334

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[BUG] burst_def bug #334

wants to merge 1 commit into from

Conversation

ryanhammonds
Copy link
Member

The docstring of sim_bursty_oscillation says a 1d array can be passed to the burst_def kwarg. Passing a 1d array leads to an error here, since burst_def=='prob' returns an array:

if burst_def == 'prob' and burst_param not in burst_params:

This PR restructures the function with appropriate conditionals to fix. If 1d arrays aren't meant to be supported, then we'd just need to update the docstring.

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 this pull request may close these issues.

1 participant