Skip to content

Commit

Permalink
Update gmsh_reader.py
Browse files Browse the repository at this point in the history
Will fail for 1D and 2D if this parameter is not passed.
  • Loading branch information
peter17 committed Nov 22, 2013
1 parent 394f6bb commit ecc498f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshpy/gmsh_reader.py
Expand Up @@ -303,7 +303,7 @@ def read_gmsh(receiver, filename, force_dimension=None):
"""
mesh_file = open(filename, 'rt')
try:
result = parse_gmsh(receiver, mesh_file)
result = parse_gmsh(receiver, mesh_file, force_dimension=force_dimension)
finally:
mesh_file.close()

Expand Down

0 comments on commit ecc498f

Please sign in to comment.