Skip to content

Commit

Permalink
EAMxx: fix OOB access in aerocom_cld test
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed May 16, 2024
1 parent 144da57 commit e5718f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/eamxx/src/diagnostics/tests/aerocom_cld_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ TEST_CASE("aerocom_cld") {

// Case 5a: test independence of ice and liq fractions
cd_v(0, 3) = 1.0;
cd_v(0, 8) = 1.0;
cd_v(0, 9) = 0.2;
cd_v(0, 7) = 1.0;
cd_v(0, 8) = 0.2;
qc.deep_copy(1.0);
qi.deep_copy(0.0); // zero ice!
cd.sync_to_dev();
Expand Down

0 comments on commit e5718f4

Please sign in to comment.