Skip to content

Commit 657ec3d

Browse files
committed
Update tests to use SUN_COMM_NULL for compat w/ MPI version of sundials
1 parent f7782ab commit 657ec3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/include/VariableFramework.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class VariableFramework: public testing::Test {
9393
void SetUp() override {
9494
if (theVars == nullptr) {
9595
#ifdef SUNDIALS_CONTEXT_REQUIRED
96-
if (SUNContext_Create(0, &context) < 0) {
96+
if (SUNContext_Create(SUN_COMM_NULL, &context) < 0) {
9797
throw std::runtime_error("SUNContext_Create failed");
9898
}
9999
theVars = new Variables(&context);

0 commit comments

Comments
 (0)