Skip to content

Commit

Permalink
kernel: fix check in OutNeighbours
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Nov 25, 2021
1 parent 548a383 commit 53e9ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/digraphs.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Obj FuncOutNeighbours(Obj self, Obj D) {
if (!RNamOutNeighbours) {
RNamOutNeighbours = RNamName("OutNeighbours");
}
if (!CALL_1ARGS(IsDigraph, D)) {
if (CALL_1ARGS(IsDigraph, D) != True) {
ErrorQuit("expected a digraph, not a %s", (Int) TNAM_OBJ(D), 0L);
} else if (IsbPRec(D, RNamOutNeighbours)) {
return ElmPRec(D, RNamOutNeighbours);
Expand Down

0 comments on commit 53e9ed8

Please sign in to comment.