fix integer range to have correct end
This commit is contained in:
parent
ba0c17e287
commit
bf228b4ae4
@ -126,7 +126,7 @@ template <typename EdgeDataT, bool UseSharedMemory = false> class StaticGraph
|
|||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
Percent p(GetNumberOfNodes());
|
Percent p(GetNumberOfNodes());
|
||||||
for (const auto u : boost::irange(0u, GetNumberOfEdges()))
|
for (const auto u : boost::irange(0u, GetNumberOfNodes()))
|
||||||
{
|
{
|
||||||
for (auto eid : GetAdjacentEdgeRange(u))
|
for (auto eid : GetAdjacentEdgeRange(u))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user