Skip to content

Commit 2ea2cc4

Browse files
committed
Fix empty MPI fn arg in wrap.py
1 parent 165b89a commit 2ea2cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/mpiwrap/wrap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def enumerate_mpi_declarations(mpicc, includes):
606606
arg_list = list(map(lambda s: s.strip(), arg_string.split(",")))
607607

608608
# Handle functions that take no args specially
609-
if arg_list == ['void']:
609+
if arg_list == ['void'] or arg_list == ['']:
610610
arg_list = []
611611

612612
# Parse formal parameter descriptors out of args

0 commit comments

Comments
 (0)