Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Incompatibility with Python 3.12
According to the Python docs for the random module (https://docs.python.org/3/library/random.html#functions-for-integers): Changed in version 3.12: Automatic conversion of non-integer types is no longer supported. Calls such as randrange(10.0) and randrange(Fraction(10, 1)) now raise a TypeError. Python 3.12 will no longer automatically cast these floats to ints.
- Loading branch information