#20919: Apparent bug in incomplete orthogonal arrays
-------------------------------+-------------------------------------
Reporter: eviatarbach | Type: defect
Status: new | Priority: major
Milestone: sage-7.3 | Component: combinatorial designs
Keywords: days78 | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+-------------------------------------
The docstring for `designs.incomplete_orthogocal_array` claims that if
`existence=True`, the function will return a boolean or `Unknown`.
However, for certain values, it returns the array.
For example,
{{{
sage: type(designs.incomplete_orthogonal_array(9,82,[9],existence=True))
<type 'list'>
}}}
I encountered this while working on something else, and I have no idea of
the math behind this, but it seems to be incorrect. The problem seems to
be in the block starting at line 1371 in `orthogonal_arrays.py` ("From a
quasi-difference matrix"); all other branches in the function take into
account whether `existence` is set, but this one does not.
--
Ticket URL: <https://trac.sagemath.org/ticket/20919>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.