Skip to content

add isinstance check of Sampler to FileSampler in MultiSampler class #177

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

Merged

Conversation

kathyxchen
Copy link
Collaborator

@kathyxchen kathyxchen commented Sep 22, 2021

Reference Issues/PRs

Bug in MultiSampler where we only check that the input samplers are of type Sampler and not also FileSampler

What does this implement/fix? Explain your changes.

changed the isinstance check

What testing did you do to verify the changes in this PR?

Re-ran an example where we use MultiSampler with MatFileSampler class

@kathyxchen kathyxchen changed the title switch isinstance check of Sampler to FileSampler in MultiSampler class add isinstance check of Sampler to FileSampler in MultiSampler class Sep 22, 2021
@kathyxchen kathyxchen requested a review from jzthree September 22, 2021 14:00
@kathyxchen kathyxchen merged commit 477ad5d into FunctionLab:master Sep 22, 2021
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