Skip to content

Commit

Permalink
fixes counting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoon committed Mar 18, 2024
1 parent 20c8c12 commit e790ec8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ IntegratorColumnSum::IntegratorColumnSum(Teuchos::ParameterList& plist,
divide_by_density_ = plist.get<bool>("divide by density");

if (volume_factor_) {
AMANZI_ASSERT(deps.size() > 3);
AMANZI_ASSERT(deps.size() >= 3);
cv_ = deps[i_dep++];
surf_cv_ = deps[i_dep++];
}
if (volume_average_) {
AMANZI_ASSERT(deps.size() > 2);
AMANZI_ASSERT(deps.size() >= 2);
cv_ = deps[i_dep++];
}

Expand Down

0 comments on commit e790ec8

Please sign in to comment.