Ticket #441 (closed defect: fixed)
Coercing float typedef to complex creates erronous C code
| Reported by: | dagss | Owned by: | somebody |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.12 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
This code doesn't C-compile:
ctypedef double mydouble
def test_coerce_typedef_multiply(mydouble x, double complex z):
return x * z
The problem is that the resulting complex of the multiplication operation is defined before mydouble. I'll post to the ML for discussion.
Testcase for this ticket added on -T305.
Change History
Note: See
TracTickets for help on using
tickets.
