Skip to content

Commit

Permalink
Fix empty MPI fn arg in wrap.py (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
daboehme authored Jan 4, 2025
1 parent 165b89a commit d6fcd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/mpiwrap/wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def enumerate_mpi_declarations(mpicc, includes):
arg_list = list(map(lambda s: s.strip(), arg_string.split(",")))

# Handle functions that take no args specially
if arg_list == ['void']:
if arg_list == ['void'] or arg_list == ['']:
arg_list = []

# Parse formal parameter descriptors out of args
Expand Down

0 comments on commit d6fcd65

Please sign in to comment.