Bug#789826: Patch attached

Mathieu Trudel-Lapierre mathieu-tl at ubuntu.com
Tue Aug 11 20:16:54 UTC 2015


Hi,

Admittedly, this is a rather heavy-handed approach, but changing epsilon
for the Collinear() calls to 1e-3 instead of 1e-4 lets the builds complete
successfully on all architectures, including i386.

This appears to be as being related to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 , in other words, because
the CrossProduct as it is being calculated is probably having values
rounded multiple times.

Attached is a patch that has been applied on Ubuntu to change the epsilon
value used for the Line2 tests.

I think this warrants being brought up to the upstream too, perhaps they
have a preferred way of dealing with this.

Kindly,

Mathieu Trudel-Lapierre <mathieu-tl at ubuntu.com>
Freenode: cyphermox, Jabber: mathieu.tl at gmail.com
4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150811/de8a206a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_collinear_boundary.patch
Type: text/x-patch
Size: 935 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150811/de8a206a/attachment.bin>


More information about the debian-science-maintainers mailing list