boostorg / boostorg/graph

adjacency_matrix::add_vertex always aborts in Debug mode ?

Open
#359 2 comments 0 reactions 1 assignee Claimed by @jeremy-murphy View on GitHub
data structure docs priority: medium
Dominant language
C++
Stars
392
Forks
239
Avg merge
1d 11m
Merged PRs (30d)
20

Description

I found this in `graph/adjacency_matrix` ligne 966 :

```cpp
template < typename D, typename VP, typename EP, typename GP, typename A >
inline typename adjacency_matrix< D, VP, EP, GP, A >::vertex_descriptor
add_vertex(adjacency_matrix< D, VP, EP, GP, A >& g)
{
// UNDER CONSTRUCTION
BOOST_ASSERT(false);
return *vertices(g).first;
}
```
Does it mean there is no way to add vertices to an already-constructed adjacency_matrix ? Am i missing something ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.