Skip to content

Commit

Permalink
trac #16388: (v,k,1)-BIBD instead of BIBD(v,k,1)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanncohen committed Jun 5, 2014
1 parent ec26ca2 commit 79178b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/combinat/designs/bibd.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def BalancedIncompleteBlockDesign(v,k,existence=False,use_LJCR=False):
sage: designs.BalancedIncompleteBlockDesign(16,6)
Traceback (most recent call last):
...
NotImplementedError: I don't know how to build a BIBD(16,6,1)!
NotImplementedError: I don't know how to build a (16,6,1)-BIBD!
TESTS::
Expand Down Expand Up @@ -215,7 +215,7 @@ def BalancedIncompleteBlockDesign(v,k,existence=False,use_LJCR=False):
if existence:
return Unknown
else:
raise NotImplementedError("I don't know how to build a BIBD({},{},1)!".format(v,k))
raise NotImplementedError("I don't know how to build a ({},{},1)-BIBD!".format(v,k))

def steiner_triple_system(n):
r"""
Expand Down Expand Up @@ -376,7 +376,7 @@ def BIBD_from_TD(v,k,existence=False):
sage: BIBD_from_TD(20,5)
Traceback (most recent call last):
...
NotImplementedError: I do not know how to build a BIBD(20,5,1)!
NotImplementedError: I do not know how to build a (20,5,1)-BIBD!
"""
from orthogonal_arrays import transversal_design

Expand Down Expand Up @@ -441,7 +441,7 @@ def BIBD_from_TD(v,k,existence=False):
if existence:
return Unknown
else:
raise NotImplementedError("I do not know how to build a BIBD({},{},1)!".format(v,k))
raise NotImplementedError("I do not know how to build a ({},{},1)-BIBD!".format(v,k))

return BIBD

Expand Down

0 comments on commit 79178b6

Please sign in to comment.