Skip to content

Conversation

PetiteViking
Copy link
Contributor

@PetiteViking PetiteViking commented Nov 11, 2021

I separated the generation of the arcMap from writing it to file since writing to file might not be needed. One could instead directly work with the arcMap.

@PetiteViking
Copy link
Contributor Author

This should be backwards-compatible so no dependent projects would break due to this.

arcMap.resize(nv, -1);

uint32_t arcNo = 0;
for (int64_t i = 0; i < nv; i++) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a nested loop here?


return {arcNo, nodeids, nodefns, nodeTypes, arcs};
}
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this added because of the additional loop? Based in this, the return statement is anyway inside the second loop. Was the first loop a copy paste error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants