Just try them both. The code in the original message with the bounds gives the TypeError, the second one is the original one I had tried that gives the SamplingError.
Just try them both. The code in the original message with the bounds gives the TypeError, the second one is the original one I had tried that gives the SamplingError.