Skip to content

Commit

Permalink
Fix uninitialized value in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Aug 8, 2024
1 parent 9814ff9 commit be341d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unit_tests/algorithms/UnitTestAlgorithm.C
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ TestTurbulenceAlgorithm::declare_fields()

if (!realm_->fieldManager_) {
sierra::nalu::TimeIntegrator timeIntegrator;
timeIntegrator.secondOrderTimeAccurate_ = false;
realm_->timeIntegrator_ = &timeIntegrator;
realm_->setup_field_manager();
realm_->timeIntegrator_ = nullptr;
Expand Down

0 comments on commit be341d9

Please sign in to comment.