File diff r23520:20bbc807b0eb → r23521:26cb73a2624c
src/linkgraph/linkgraph.cpp
Show inline comments
 
@@ -278,13 +278,13 @@ void LinkGraph::Edge::Update(uint capaci
 
 * @param size New size of the component.
 
 */
 
void LinkGraph::Init(uint size)
 
{
 
	assert(this->Size() == 0);
 
	this->edges.Resize(size, size);
 
	this->nodes.Resize(size);
 
	this->nodes.resize(size);
 

	
 
	for (uint i = 0; i < size; ++i) {
 
		this->nodes[i].Init();
 
		BaseEdge *column = this->edges[i];
 
		for (uint j = 0; j < size; ++j) column[j].Init();
 
	}