#17309: SubHypergraphSearch
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-6.4
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers: Dima Pasechnik
Authors: Nathann Cohen | Work issues:
Report Upstream: N/A | Commit:
Branch: u/ncohen/17309 | d83413ad45c40ed1b474f521a2bd0164f6c99bbf
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vbraun):
I got this on OSX:
{{{
sage -t --long src/sage/combinat/designs/incidence_structures.py
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 586, in
sage.combinat.designs.incidence_structures.IncidenceStructure.isomorphic_substructures_iterator
Failed example:
sum(1 for _ in IP.isomorphic_substructures_iterator(IC))
Expected:
120
Got:
0
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 598, in
sage.combinat.designs.incidence_structures.IncidenceStructure.isomorphic_substructures_iterator
Failed example:
sum(1 for _ in IP.isomorphic_substructures_iterator(IC,induced=True))
Expected:
120
Got:
0
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 606, in
sage.combinat.designs.incidence_structures.IncidenceStructure.isomorphic_substructures_iterator
Failed example:
sum(1 for _ in IP.isomorphic_substructures_iterator(IC))
Expected:
420
Got:
0
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 608, in
sage.combinat.designs.incidence_structures.IncidenceStructure.isomorphic_substructures_iterator
Failed example:
sum(1 for _ in IP.isomorphic_substructures_iterator(IC,induced=True))
Expected:
60
Got:
0
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 615, in
sage.combinat.designs.incidence_structures.IncidenceStructure.isomorphic_substructures_iterator
Failed example:
sum(1 for _ in H.isomorphic_substructures_iterator(H))
Expected:
5616
Got:
1
**********************************************************************
1 item had failures:
5 of 16 in
sage.combinat.designs.incidence_structures.IncidenceStructure.isomorphic_substructures_iterator
[287 tests, 5 failures, 2.07 s]
}}}
Just as a stab in the dark, this is often a sign of comparisons by memory
location somewhere. Somehow many Python objects end in different orders in
ram on OSX.
--
Ticket URL: <http://trac.sagemath.org/ticket/17309#comment:23>
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.