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

Commit

Permalink
src/sage/graphs/generators/distance_regular.pyx: Import log from sage…
Browse files Browse the repository at this point in the history
….misc.functional
  • Loading branch information
Matthias Koeppe committed Oct 29, 2021
1 parent 5798a1c commit 0734119
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/sage/graphs/generators/distance_regular.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ def is_classical_parameters_graph(list array):
sage: is_classical_parameters_graph([27, 10, 1, 1, 10, 27])
False
"""
from sage.functions.log import log
from sage.misc.functional import log
from sage.rings.integer_ring import ZZ
from sage.arith.misc import is_prime_power
from sage.combinat.q_analogues import q_binomial
Expand Down Expand Up @@ -2099,8 +2099,7 @@ def graph_with_classical_parameters(int d, int b, alpha_in, beta_in, int gamma):
Generalised hexagon of order (2, 8): Graph on 819 vertices
"""
from sage.rings.rational import Rational
from sage.functions.log import log
from sage.misc.functional import sqrt
from sage.misc.functional import sqrt, log
from sage.graphs.generators.families import JohnsonGraph, HammingGraph
from sage.graphs.generators.classical_geometries import \
UnitaryDualPolarGraph, OrthogonalDualPolarGraph, SymplecticDualPolarGraph
Expand Down Expand Up @@ -2383,7 +2382,7 @@ def is_near_polygon(array):
"""
from sage.arith.misc import is_prime_power
from sage.combinat.q_analogues import q_binomial
from sage.functions.log import log
from sage.misc.functional import log

if len(array) % 2 != 0:
return False
Expand Down

0 comments on commit 0734119

Please sign in to comment.