You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, const vertexArray: vector{Vertex}(int) = 0; should initialize a vector with size of number of vertices. But it initializes to a vector of size 0. We had to add this to make it work: const vertices : vertexset{Vertex} = edges.getVertices(); const vertexArray: vector{Vertex}(int) = 0;
The text was updated successfully, but these errors were encountered:
Ideally,
const vertexArray: vector{Vertex}(int) = 0;
should initialize a vector with size of number of vertices. But it initializes to a vector of size 0. We had to add this to make it work:const vertices : vertexset{Vertex} = edges.getVertices();
const vertexArray: vector{Vertex}(int) = 0;
The text was updated successfully, but these errors were encountered: