Skip to content

Commit

Permalink
Bugfix: Fix SUNCheckMPICallNoRetMsg() (#419)
Browse files Browse the repository at this point in the history
Fix macro definition when error checks are disabled and MPI is enabled.

Co-authored-by: David Gardner <[email protected]>
  • Loading branch information
balay and gardner48 authored Feb 7, 2024
1 parent 0def400 commit 2caa860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sundials/priv/sundials_mpi_errors_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ extern "C" {
} \
while (0)
#else
#define SUNCheckMPICallNoRetMsg(call) (void)call
#define SUNCheckMPICallNoRetMsg(call, msg) (void)call
#endif

/* These versions of SUNCheckMPICall do not take a custom message so a
Expand Down

0 comments on commit 2caa860

Please sign in to comment.