#12267: multiply defined labels when using sagetex with multline
-----------------------+----------------------------------------------------
Reporter: dimpase | Owner: jason
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.8
Component: misc | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Comment(by ddrake):
Aha!
I can equal Rob Beezer's one-character patch. In fact, just a single bit
needs to be changed: an `=` must be `<` (ASCII 0x3D to 0x3C; the least-
significant bit gets flipped).
The problem is in my check to see if we've seen this label before; I
didn't imagine that someone would (legitimately) use the same label twice
in a single line. So `inline()` needs to check if the label it's asked to
write is *less than or equal to*, instead of just equal to, the maximum
label we've already written.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12267#comment:7>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.