Skip to content

Commit

Permalink
Initialize and check pending_exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
bangerth committed May 18, 2023
1 parent 50fb8a8 commit 84c0bbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/sundials/arkode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ namespace SUNDIALS
# endif
, mpi_communicator(mpi_comm)
, last_end_time(data.initial_time)
, pending_exception(nullptr)
{
set_functions_to_trigger_an_assert();

Expand Down Expand Up @@ -413,6 +414,8 @@ namespace SUNDIALS
(void)status;
AssertARKode(status);
# endif

Assert(pending_exception == nullptr, ExcInternalError());
}


Expand Down

0 comments on commit 84c0bbf

Please sign in to comment.