We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 630d5fb commit 048a847Copy full SHA for 048a847
1 file changed
include/hgl/hypergraph.hpp
@@ -458,14 +458,14 @@ class hypergraph final {
458
}
459
460
gl_attr_force_inline hyperedge_type add_hyperedge_with(
461
- std::initializer_list<vertex_type> tail_verticess,
462
- std::initializer_list<vertex_type> head_verticess,
+ std::initializer_list<vertex_type> tail_vertices,
+ std::initializer_list<vertex_type> head_vertices,
463
hyperedge_properties_type properties
464
)
465
requires(std::same_as<directional_tag, bf_directed_t> and traits::c_non_empty_properties<hyperedge_properties_type>)
466
{
467
return this->add_hyperedge_with(
468
- std::views::all(tail_verticess), std::views::all(head_verticess), std::move(properties)
+ std::views::all(tail_vertices), std::views::all(head_vertices), std::move(properties)
469
);
470
471
0 commit comments