change wording of error
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user