Skip to content

Commit

Permalink
two more NULL -> nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
drreynolds committed Sep 25, 2024
1 parent 1376c18 commit 17e7283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/diffusion_2D/main_arkode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ int main(int argc, char* argv[])

// Create SUNDIALS context
MPI_Comm comm = MPI_COMM_WORLD;
SUNContext ctx = NULL;
SUNProfiler prof = NULL;
SUNContext ctx = nullptr;
SUNProfiler prof = nullptr;

flag = SUNContext_Create(comm, &ctx);
if (check_flag(&flag, "SUNContextCreate", 1)) { return 1; }
Expand Down

0 comments on commit 17e7283

Please sign in to comment.