Opened 13 years ago

Closed 13 years ago

#2035 closed defect (fixed)

sage-2.10.1.rc5: transform.pyx is now broken (probably caused by other fixes)

Reported by: was Owned by: was
Priority: blocker Milestone: sage-2.10.1
Component: calculus Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage -t  devel/sage-main/sage/plot/plot3d/transform.pyx     **********************************************************************
File "transform.pyx", line 212:
    sage: m
Expected: 
    [                                       (1 - cos(theta))*x^2 + cos(theta) (-sin(theta)*abs(z)^3 - (cos(theta) - 1)*x*z^2*sqrt(-z^2 - x^2 + 1))/z^2  (sin(theta)*sqrt(-z^2 - x^2 + 1)*abs(z)^3 + (1 - cos(theta))*x*z^4)/z^3]
    [             sin(theta)*abs(z) + (1 - cos(theta))*x*sqrt(-z^2 - x^2 + 1)                          (cos(theta) - 1)*z^2 + (cos(theta) - 1)*x^2 + 1     (-sin(theta)*x*abs(z) - (cos(theta) - 1)*z^2*sqrt(-z^2 - x^2 + 1))/z]
    [    (-sin(theta)*sqrt(-z^2 - x^2 + 1)*abs(z) - (cos(theta) - 1)*x*z^2)/z      (sin(theta)*x*abs(z) - (cos(theta) - 1)*z^2*sqrt(-z^2 - x^2 + 1))/z                                        (1 - cos(theta))*z^2 + cos(th
eta)]
Got:
    [                                              (1 - cos(theta))*x^2 + cos(theta)                  (1 - cos(theta))*x*sqrt(-z^2 - x^2 + 1) - sin(theta)*sqrt(z^2)          (sin(theta)*sqrt(-z^2 - x^2 + 1)*sqrt(z^2) + 
(1 - cos(theta))*x*z^2)/z]
    [                 sin(theta)*sqrt(z^2) + (1 - cos(theta))*x*sqrt(-z^2 - x^2 + 1)                                 (cos(theta) - 1)*z^2 + (cos(theta) - 1)*x^2 + 1 (-(cos(theta) - 1)*z*sqrt(-z^2 - x^2 + 1)*sqrt(z^2) - 
sin(theta)*x*z)/sqrt(z^2)]
    [        (-sin(theta)*sqrt(-z^2 - x^2 + 1)*sqrt(z^2) - (cos(theta) - 1)*x*z^2)/z  (sin(theta)*x*z - (cos(theta) - 1)*z*sqrt(-z^2 - x^2 + 1)*sqrt(z^2))/sqrt(z^2)                                               (1 - cos
(theta))*z^2 + cos(theta)]
**********************************************************************
1 items had failures:
   1 of  25 in __main__.example_0
***Test Failed*** 1 failures.
For whitespace errors, see the file .doctest_transform.pyx

Attachments (1)

trac-2035.patch (2.2 KB) - added by was 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by was

comment:1 Changed 13 years ago by was

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.