Skip to content

Commit

Permalink
graph/topo: fix example name
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Sep 1, 2018
1 parent ee5a3b8 commit fa5f036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/topo/2sat_example_test.go
Expand Up @@ -174,7 +174,7 @@ type node struct {
func (n node) ID() int64 { return n.id }
func (n node) negated() node { return node{-n.id, n.name} }

func ExampleTarjanSCC_2sat() {
func ExampleTarjanSCC_simple2sat() {
for i, s := range systems {
state, ok := twoSat(strings.NewReader(s))
if !ok {
Expand Down

0 comments on commit fa5f036

Please sign in to comment.