num::structures::debug::check_positive_weight¶
Defined in header <structures/debug.hpp>
template <typename Weight>
void check_positive_weight(const Weight &weight,
std::string_view label = "graph::edge_weight",
std::source_location loc = std::source_location::current());
Verify edge weight is strictly positive.