We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fecc53 commit e097454Copy full SHA for e097454
init.g
@@ -27,9 +27,14 @@ fi;
27
BindGlobal("DIGRAPHS_IsGrapeLoaded",
28
IsPackageMarkedForLoading("grape", "4.8.1"));
29
30
-if not DIGRAPHS_IsGrapeLoaded then
+# To avoid warnings when GRAPE is not loaded
31
+if not IsBound(IsGraph) then
32
IsGraph := ReturnFalse;
33
+fi;
34
+if not IsBound(Vertices) then
35
Vertices := IdFunc;
36
37
+if not IsBound(Adjacency) then
38
Adjacency := IdFunc;
39
fi;
40
0 commit comments