ansys: fix binary write
@@ -158,9 +158,9 @@ def write(filename,
elif file_format in ['ansys-ascii', 'ansys-binary']:
ansys_io.write(
filename, points, cells,
- is_ascii=(file_format == 'ansys-ascii'),
point_data=point_data,
- cell_data=cell_data
+ cell_data=cell_data,
+ write_binary=(file_format == 'ansys-binary')
)
elif file_format in ['gmsh-ascii', 'gmsh-binary']:
gmsh_io.write(
