id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
12845,Incorrect doctest in sage/misc/functional.py,mjo,burcin,"We currently have,
{{{
sage: a, b, c = var(""a, b, c"")
sage: v = vector([a, b, c])
sage: bool(norm(v).simplify_full() == sqrt(a^2 + b^2 + c^2))
True
}}}
which is true enough if a,b,c are real. The current doctest ""works"" because somewhere along the line, `simplify_full()` assumes that they're real. So in effect, this doctest is confirming incorrect behavior.
The proper fix is to explicitly assume that a,b,c are real.
----
Apply [attachment:sage-trac_12845.patch] and [attachment:trac_12845-reviewer.patch].",defect,closed,major,sage-5.1,symbolics,fixed,,kcrisman,sage-5.1.beta3,Michael Orlitzky,Karl-Dieter Crisman,N/A,,,,,