Closed OliverGorman closed 3 months ago
Hey Oliver, Thanks for the fix! If you think you will be making more contributions in the future, we can set you up with a contributor license agreement (CLA) which would allow us to accept your PRs. If not, I'll just make this bugfix independently. Please email us at pygsti@sandia.gov for a CLA if you decide to go down that route.
Hi Oliver, Thanks again for your contribution! We've included an equivalent bugfix in ef9def6 that we think will be more cross-platform friendly, so I'm going to close this PR. Again, if you find yourself wanting to contribute in the future, please feel free to reach out for a CLA.
pygsti.data.Dataset
constructor has theoutcome_labels
argument which may be alist
orint
according to the docstring. However, passing a Pythonint
did not work as theisinstance
check was usingnp.int64
. This pull request generalises the check to also work with Pythonint
s using thenumbers
standard library module.... after writing this up I see that pull requests by authors outside of SNL cannot be merged. I'm more than happy for a maintainer to take this change and put it in under their name.