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

Fixed little bug in fit_scipy #733

Closed
wants to merge 1 commit into from
Closed

Conversation

BenSmithers
Copy link
Member

When the _fit_scipy function is called with a list of MapSets, it will still try to call data_dist.allclose(hypo_asimov_dist), which fails since data_dist is a list. This is fixed by checking if this is a list first, and if so it will then check if all the mapsets are close instead.

When the `_fit_scipy` function is called with a `list` of `MapSets`, it will still try to call `data_dist.allclose(hypo_asimov_dist)`, which fails since `data_dist` is a list. This is fixed by checking if this is a list first, and if so it will then check if all the mapsets are close instead.
@BenSmithers
Copy link
Member Author

Since this is a minor patch, it was given its own branch. Pulling the changes from master to this patch would require another pull request, just so we can update this pull request? It's a little silly

So... I'll just open a new patch pull request and close this one.

@LeanderFischer LeanderFischer deleted the BenSmithers-patch-1 branch July 4, 2023 14:47
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.

2 participants