From e888706b04f603d4327f60746ad921273858b173 Mon Sep 17 00:00:00 2001 From: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Date: Wed, 10 Jan 2024 19:35:36 -0500 Subject: [PATCH] numpy2.0 fix for string_ --- src/meshio/med/_med.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshio/med/_med.py b/src/meshio/med/_med.py index 301322466..0bd10bd38 100644 --- a/src/meshio/med/_med.py +++ b/src/meshio/med/_med.py @@ -28,7 +28,7 @@ "wedge15": "P15", } med_to_meshio_type = {v: k for k, v in meshio_to_med_type.items()} -numpy_void_str = np.string_("") +numpy_void_str = np.bytes_("") def read(filename):