Skip to content

Commit

Permalink
fix for src dist
Browse files Browse the repository at this point in the history
  • Loading branch information
gtheler committed Jan 23, 2025
1 parent e368573 commit dddb347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/dae.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ int feenox_dae_init(void) {

int err = 0; // this is used inside the ida_call() macro
#if SUNDIALS_VERSION_MAJOR >= 6
#ifdef SUNDIALS_MPI_ENABLED
#if defined(SUNDIALS_MPI_ENABLED) && defined(PETSC_HAVE_MPI_COUNT)
MPI_Init(NULL, NULL);
ida_call(SUNContext_Create(MPI_COMM_WORLD, &feenox.dae.ctx));
#else
Expand Down

0 comments on commit dddb347

Please sign in to comment.