numpy-stl
numpy-stl copied to clipboard
Debug tuple print of np.float
Debug https://github.com/wolph/numpy-stl/issues/223
With numpy>=2.0.0, tuple(vectors[0]) returns the type of the number (eg: np.float64()) instead of the number.
Adding .tolist() to the vector converts the vector to a python list and could be printed.
Work also with numpy <2.0.0