Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
grape is in the gap_packages SPKG
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Apr 8, 2016
1 parent 340d36e commit 0fc00d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sage/graphs/generators/classical_geometries.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,12 +1286,10 @@ def CossidentePenttilaGraph(q):
if k==0 or p==2:
raise ValueError('q(={}) must be an odd prime power'.format(q))

from sage.libs.gap.libgap import libgap
from sage.misc.package import is_package_installed, PackageNotFoundError

from sage.misc.feature.gap_package import GapPackage
GapPackage("grape").require()
GapPackage("grape", spkg="gap_packages").require()

from sage.libs.gap.libgap import libgap
adj_list=libgap.function_factory("""function(q)
local z, e, so, G, nu, G1, G0, B, T, s, O1, O2, x;
LoadPackage("grape");
Expand Down

0 comments on commit 0fc00d9

Please sign in to comment.