Skip to content

Commit ed5d079

Browse files
committed
fixed code-style and code-spell
1 parent 0cc4535 commit ed5d079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/graphs/generators/families.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ def CubeGraph(n, embedding=1):
12331233
"""
12341234
if embedding == 1:
12351235
# construct recursively the adjacency dict and the embedding
1236-
theta = float(pi/4) if n==3 else float(pi/n)
1236+
theta = float(pi/4) if n == 3 else float(pi/n)
12371237
d = {'': []}
12381238
dn = {}
12391239
p = {'': (float(0), float(0))}
@@ -3275,7 +3275,7 @@ def GeneralizedSierpinskiGraph(G, k, stretch=None):
32753275
32763276
- ``stretch`` -- integer (default: ``None``); stretching factor used to
32773277
determine the positions of the vertices of the output graph. By default
3278-
(``None``), this value is set to twice the maximum Euclidian distance
3278+
(``None``), this value is set to twice the maximum Euclidean distance
32793279
between the vertices of `G`. This parameter is used only when the vertices
32803280
of `G` have positions.
32813281

0 commit comments

Comments
 (0)