Skip to content

Commit

Permalink
Wider search of gmsh on Windows. (#153)
Browse files Browse the repository at this point in the history
When Gmsh is installed through Pip on Windows, the executable is called 'gmsh' instead of 'gmsh.exe', so a wider search of the gmsh path is necessary.
  • Loading branch information
evantwout authored Apr 19, 2022
1 parent 2fa1193 commit e4adb49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bempp/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ def _gmsh_path():

if _os.name == "nt":
gmp = which("gmsh.exe")
if gmp is None:
gmp = which("gmsh")
else:
gmp = which("gmsh")
if gmp is None:
Expand Down

0 comments on commit e4adb49

Please sign in to comment.