On Sep 9, 7:02 am, "John Cremona" <[EMAIL PROTECTED]> wrote:
> Build report on the second 3.1.2.rc1:

Hi John,

> On 64-bit Suse, all ok and all tests pass.
>
> On 32-bit ubuntu ():  build ok, some test failures:
>
>         sage -t  devel/sage/sage/stats/hmm/chmm.pyx
>         sage -t  devel/sage/sage/stats/hmm/hmm.pyx
>         sage -t  devel/sage/sage/schemes/elliptic_curves/period_lattice.py
>         sage -t  devel/sage/sage/matrix/matrix_real_double_dense.pyx
>
> The first two are thw known oldies.  The third, which is in a doctest
> I wrote for a recent patch, is just numerical fuzz.   It's not that
> surprising, since the patch had a lot of precision tests and I can
> patch it by the usual trick of replacing the last 3 decimal digits
> with "..." (unless anyonle knows a better way).

You don't need to add the three dots everywhere since we really don't
want to wipe out low order digits just for the fun of it. The "..."
means "match anything", so if only the last digit or two are different
replace them by "..." - there is no need to replace a certain number
of characters.

> The last one is this:
>
> ******************************************
> File "/home/john/sage-3.1.2.rc1/tmp/matrix_real_double_dense.py", line 493:
>     sage: b = e * v
> Exception raised:
>     Traceback (most recent call last):
>       File "/home/john/sage-3.1.2.rc1/local/lib/python2.5/doctest.py",
> line 1228, in __run
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_8[8]>", line 1, in <module>
>         b = e * v###line 493:
>     sage: b = e * v
>       File "element.pyx", line 1384, in
> sage.structure.element.RingElement.__mul__
> (sage/structure/element.c:9357)
>       File "coerce.pyx", line 662, in
> sage.structure.coerce.CoercionModel_cache_maps.bin_op
> (sage/structure/coerce.c:6364)
>     TypeError: unsupported operand parent(s) for '*': 'Complex Double
> Field' and 'Vector space of degree 3 and dimension 1 over Real Double
> Field
>     User basis matrix:
>     [0.440242867236 0.567868371314 0.695493875393]'
> **********************************************************************
> File "/home/john/sage-3.1.2.rc1/tmp/matrix_real_double_dense.py", line 494:
>     sage: diff = a.change_ring(CDF) - b
> Exception raised:
>     Traceback (most recent call last):
>       File "/home/john/sage-3.1.2.rc1/local/lib/python2.5/doctest.py",
> line 1228, in __run
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_8[9]>", line 1, in <module>
>         diff = a.change_ring(CDF) - b###line 494:
>     sage: diff = a.change_ring(CDF) - b
>     NameError: name 'b' is not defined
> **********************************************************************
> File "/home/john/sage-3.1.2.rc1/tmp/matrix_real_double_dense.py", line 495:
>     sage: abs(abs(diff)) < 1e-10
> Exception raised:
>     Traceback (most recent call last):
>       File "/home/john/sage-3.1.2.rc1/local/lib/python2.5/doctest.py",
> line 1228, in __run
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_8[10]>", line 1, in <module>
>         abs(abs(diff)) < RealNumber('1e-10')###line 495:
>     sage: abs(abs(diff)) < 1e-10
>     TypeError: bad operand type for abs(): 'function'
> **********************************************************************
>
> John

I am seeing that one too, but I cannot hit it on x86-64. I have made
this #4091. Feel free to open a ticket for the numerical noise fuzz
failure.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to