Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DominatorOf returns nil for the root node. With the previous version of the gonum/graph API this was fine, but with the new version (using ID) we must first ensure that the dominator of B is not nil before invoking the ID method.
- Loading branch information