change wording of error

This commit is contained in:
filifa 2025-05-09 23:00:53 -04:00
parent 2b49d8dd51
commit 21e3ff5e74
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ func orderedAdjMatrix(g igraph.WeightedGraph) (*mat.Dense, error) {
var ok bool
newOrder[node.ID()], ok = nodeIndexes[id]
if !ok {
return nil, errors.New("node '" + id + "' not in given order")
return nil, errors.New("node '" + id + "' not found in given order")
}
}