fix typo Update inheritance-ordering.js (#5354)

This commit is contained in:
Dmitry
2024-12-12 14:35:10 +03:00
committed by GitHub
parent 8939cb7835
commit ad906fe39b

View File

@ -31,7 +31,7 @@ for (const artifact of artifacts) {
} }
/// graphlib.alg.findCycles will not find minimal cycles. /// graphlib.alg.findCycles will not find minimal cycles.
/// We are only interested int cycles of lengths 2 (needs proof) /// We are only interested in cycles of lengths 2 (needs proof)
graph.nodes().forEach((x, i, nodes) => graph.nodes().forEach((x, i, nodes) =>
nodes nodes
.slice(i + 1) .slice(i + 1)