Skip to content

Commit

Permalink
update test cov
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyhanson committed Jul 10, 2024
1 parent 07961f2 commit 87f4927
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rcpp_expected_value_of_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ double expected_value_of_action(
const std::size_t n_pu_solution = std::accumulate(solution.begin(),
solution.end(), 0);
if (static_cast<int>(n_pu_solution) < target.maxCoeff()) {
// nocov start
Rcpp::stop("prioritization contains fewer planning units than a target");
// nocov end
}

// prepare rij matrix containing only solution values
Expand Down

0 comments on commit 87f4927

Please sign in to comment.