better warning in gmsh
@@ -273,7 +273,8 @@ def write(
for key in cells:
if cells[key].dtype != numpy.int32:
logging.warning(
- 'Binary Gmsh needs 32-bit integers. Converting.'
+ 'Binary Gmsh needs 32-bit integers (got {}). Converting.'
+ .format(cells[key].dtype)
)
cells[key] = numpy.array(cells[key], dtype=numpy.int32)
