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

Commit

Permalink
trac #16553: deprecated alias .points() + fix
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Jul 1, 2014
1 parent 52b7177 commit 0698433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/sage/combinat/designs/incidence_structures.py
Expand Up @@ -870,6 +870,7 @@ def parameters(self):
dual_design = deprecated_function_alias(16553, dual)
dual_incidence_structure = deprecated_function_alias(16553, dual)
is_block_design = deprecated_function_alias(16553, is_t_design)
points = deprecated_function_alias(16553, ground_set)

def block_design_checker(self, t, v, k, lmbda, type=None):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/combinat/designs/orthogonal_arrays_recursive.py
Expand Up @@ -695,7 +695,7 @@ def OA_and_oval(q):
from sage.numerical.mip import MixedIntegerLinearProgram
p = MixedIntegerLinearProgram()
b = p.new_variable(binary=True)
V = B.points()
V = B.ground_set()
p.add_constraint(p.sum([b[i] for i in V]) == q+1)
for bl in B:
p.add_constraint(p.sum([b[i] for i in bl]) <= 2)
Expand Down

0 comments on commit 0698433

Please sign in to comment.