#15060: The empty graph once again
-------------------------------------------------+-------------------------
Reporter: darij | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-5.12
Component: combinatorics | Resolution:
Keywords: graphs, border cases, bitset, | Merged in:
memleak | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by ncohen):
Yoooooooooooooo !!!
> That sounds like a good approach, but one that doesn't work for
computers :(
Does it ? Well, what do you think of this "WeHaveNoIdeaException" ? Do you
think it's not a good way out ?
> Right, that's what I meant. Otherwise the notion of a connected
component seems less useful. But I suppose it's all a matter of one's
favorite definition, as we all seem to agree. Is the theorem what defines
connectedness, or is the definition what leads to the theorem? That's
sort of what's going on here.
I'd say that the theorems make the definitions they need `:-P`
> Well, have fun resolving this! I think that leaving it as it is, with a
brief comment we can point to when people complain, is easiest. If it
really is a bug at #14529, that is different, but it probably just means
that patch needs some slight adjustment.
Yepyep, it can be fixed with a `if G.order() == 0`.
> After all, changing this could also lead to unintended consequences in
other code that assumed implicitly that this worked.
Or that assumed incorrectly that it worked and gave the other answer `:-P`
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/15060#comment:12>
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/groups/opt_out.