diff --git a/src/highspy/highs.py b/src/highspy/highs.py index bc04ce8d77..af42594be9 100644 --- a/src/highspy/highs.py +++ b/src/highspy/highs.py @@ -18,7 +18,7 @@ # backwards typing support information for HighspyArray np_version = tuple(map(int, np.__version__.split('.'))) -if sys.version_info >= (3, 9) and np_version >= (1.22.0): +if sys.version_info >= (3, 9) and np_version >= (1,22,0): ndarray_object_type = np.ndarray[Any, np.dtype[np.object_]] else: ndarray_object_type = np.ndarray