#16323: Construction of BIBD with k=5
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-6.3
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers:
Authors: Nathann Cohen | Work issues:
Report Upstream: N/A | Commit:
Branch: u/ncohen/16323 | 07a31304b9d48ef6e07f1dd96c1d3185b8fafc95
Dependencies: #16279 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
Okay, actually it seems that the infinite recursion cannot happen when we
avoid the stupid cases `v=1` and `k=1`. SOoooooooooooo instead of creating
a ticket we can fix it here !
As I don't know what we will do with your branch and mine I don't write
the commit but the fix is easy :
{{{
"""
- if ((binomial(v,2)%binomial(k,2) != 0) or
+ if (v<k or
+ k<2 or
+ (binomial(v,2)%binomial(k,2) != 0) or
(v-1)%(k-1) != 0):
if existence:
}}}
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/16323#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.