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] - Fix embedded lists for ap_fit guess #206

Merged
merged 1 commit into from
Apr 18, 2021
Merged

[BUG] - Fix embedded lists for ap_fit guess #206

merged 1 commit into from
Apr 18, 2021

Conversation

TomDonoghue
Copy link
Member

Short version: the fixed line ended up with an extra layer of embedded lists which led to downstream problems.

The longer version (why it's a problem):
In practice, we never bound the aperiodic fits, but in theory one could, by update _ap_bounds. However - if one tried to do this, then the fitting actually gets kicked to a different approach, which then checks that the guess parameters are 1d. This would then fail, because the embedded list made them 2d. This PR fixes that.

Note that this change doesn't change anything that happens in standard usage - but will make it possible to add _ap_bounds, in which case what happens in the fitting is slightly different.

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