Skip to content

Commit

Permalink
Fixed vector input in tracer serialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
svenn-t committed Jun 6, 2024
1 parent cf2b0f9 commit 593ec19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_RestartSerialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class GenericTracerModelTest : public Opm::GenericTracerModel<Grid,GridView,DofM
const std::function<std::array<double,Grid::dimensionworld>(int)> centroids)
{
GenericTracerModelTest result(gridView, eclState, cartMapper, dofMapper, centroids);
result.tracerConcentration_ = {{1.0}, {2.0}, {3.0}};
result.tracerConcentration_ = {{{1.0, 2.0}}, {{3.0, 4.0}}, {{5.0, 6.0}}};
result.wellTracerRate_.insert({{"foo", "bar"}, 4.0});

return result;
Expand Down

0 comments on commit 593ec19

Please sign in to comment.