Skip to content

Commit

Permalink
initializing a vector to avoid a compiler error (Exawind#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkuhn authored Apr 15, 2022
1 parent 5128915 commit 19b0aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit_tests/utilities/test_free_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ TEST_F(FreeSurfaceTest, sloped)

// Calculate expected output values
amrex::Vector<amrex::Real> out_vec;
out_vec.resize(npts * npts);
out_vec.resize(npts * npts, 0.0);
// Step in x, then y
// Most calcuations done by hand, not shown
out_vec[0] = water_level2 + 2.0 * (0.5 - 0.375) / (0.375 - 1.0);
Expand Down

0 comments on commit 19b0aed

Please sign in to comment.