1 Sep
2009
1 Sep
'09
12:39 a.m.
On Sun, Aug 30, 2009 at 03:20:44PM +0200, Tavmjong Bah wrote:
... https://bugs.launchpad.net/inkscape/+bug/382313 ... More specifically, Geom::Matrix.inverse() returns an incorrect matrix.
In Geom::Matrix::inverse() the matrix determinate is calculated and then compared to the constant EPSILON which is defined as 10^-5 (in coord.h). If it is less than EPSILON the matrix is set to unity. This EPSILON is clearly way too large for use in inverse().
njh thinks that EPSILON shouldn't be smaller than 1e-8 with the current code & callers.
Sorry for not checking myself (I'm just about to leave), but is changing EPSILON to 1.5e-8 enough to make this test case work?
pjrm.