Skip to content

Commit 5bd750c

Browse files
committed
Fix code style
1 parent fd736c8 commit 5bd750c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/graphs/digraph_generators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,13 +388,13 @@ def StronglyRegular(self, n):
388388
"""
389389
from sage.combinat.matrices.hadamard_matrix import skew_hadamard_matrix
390390
from sage.matrix.constructor import ones_matrix, identity_matrix
391-
if skew_hadamard_matrix(n+1, existence=True) is not True:
391+
if skew_hadamard_matrix(n + 1, existence=True) is not True:
392392
raise ValueError(f'strongly regular digraph with {n} vertices not yet implemented')
393393

394-
H = skew_hadamard_matrix(n+1, skew_normalize=True)
394+
H = skew_hadamard_matrix(n + 1, skew_normalize=True)
395395
M = H[1:, 1:]
396396
M = (M + ones_matrix(n)) / 2 - identity_matrix(n)
397-
return DiGraph(M, format='adjacency_matrix', name=f'Strongly regular digraph')
397+
return DiGraph(M, format='adjacency_matrix', name='Strongly regular digraph')
398398

399399
def Paley(self, q):
400400
r"""

0 commit comments

Comments
 (0)