On 08/17/2010 08:10 PM, Ralf Gommers wrote:


On Wed, Aug 18, 2010 at 3:08 AM, Charles R Harris <[email protected] <mailto:[email protected]>> wrote:



    On Tue, Aug 17, 2010 at 11:27 AM, Michael Droettboom
    <[email protected] <mailto:[email protected]>> wrote:

        I'm getting one unit test error on SunOS 5.8 UltraSPARC 5,
        with  Sun WorkShop 6 update 2 C 5.3 Patch 111679-14 2004/02/20:

        ======================================================================
        ERROR: test_ldexp (test_umath.TestLdexp)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File
        
"/home/mdroe/usr/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
        line 388, in test_ldexp
            assert_almost_equal(ncu.ldexp(np.array(2., np.longdouble),
        np.array(3, np.int16)), 16.)
        TypeError: function not supported for these types, and can't
        coerce safely to supported types

        Any thoughts?

        Mike


    Does it worki for other SunOS versions? Can you pin down a bit
    more which types work and which not? I suspect that the longdouble
    may be a problem, but that's just because quad precision is mostly
    a Sun (Oracle?) thing.


It's http://projects.scipy.org/numpy/ticket/1499. Fixed for Windows in r8625, can you check if the same fix works on SunOS?
This fix does not seem to resolve the test.

Mike

--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to