Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gap-packages/Digraphs int…
Browse files Browse the repository at this point in the history
…o named-graphs
  • Loading branch information
tomcontileslie committed Feb 24, 2021
2 parents ed0249b + e097454 commit 1f80e09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion init.g
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ fi;
BindGlobal("DIGRAPHS_IsGrapeLoaded",
IsPackageMarkedForLoading("grape", "4.8.1"));

if not DIGRAPHS_IsGrapeLoaded then
# To avoid warnings when GRAPE is not loaded
if not IsBound(IsGraph) then
IsGraph := ReturnFalse;
fi;
if not IsBound(Vertices) then
Vertices := IdFunc;
fi;
if not IsBound(Adjacency) then
Adjacency := IdFunc;
fi;

Expand Down

0 comments on commit 1f80e09

Please sign in to comment.