Skip to content

Commit

Permalink
Applied recommendation from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
drreynolds committed Sep 20, 2024
1 parent 7cd161f commit 3edafa9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/arkode/CXX_manyvector/ark_sod_lsrk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,8 @@ class EulerData
// manual destructor
void FreeData()
{
if (flux != NULL)
{
delete[] flux;
flux = NULL;
}
delete[] flux;
flux = NULL;
};

// destructor
Expand Down

0 comments on commit 3edafa9

Please sign in to comment.