See this...

----------------------------------------------------------------------
File "C:\Users\dalcinl\DEVEL\cython-devel\BUILD\run\cpp\complex_int_T446.pyd",
line ?, in complex_int_T446.__test__.test_arith (line 3)
Failed example:
    test_arith(29+11j, 5+7j)
Expected:
    ((-29-11j), (34+18j), (24+4j), (68+258j), (3-2j))
Got:
    ((-29-11j), (34+18j), (24+4j), (68+258j), (1-4j))

It seems that std::complex<int> in MSVC does not work well for
integrals, operator/() was written with floating types in mind.

What should we do?

-- 
Lisandro Dalcin
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to