Fix test to not try to set a non-invertible matrix. (We'd gotten away with this due to round-off error on many systems). Fixes one out of six failures in bug #4245.

This commit is contained in:
Carl Worth 2005-08-31 13:33:42 +00:00
parent 464c6dffcf
commit eb2316ecc7
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-08-31 Carl Worth <cworth@cworth.org>
* test/get-and-set.c: Fix test to not try to set a non-invertible
matrix. (We'd gotten away with this due to round-off error on many
systems). Fixes one out of six failures in bug #4245.
2005-08-31 Carl Worth <cworth@cworth.org>
* AUTHORS: Add Radek Doulík.

View file

@ -52,7 +52,7 @@ settings_t settings[] = {
CAIRO_LINE_CAP_SQUARE,
CAIRO_LINE_JOIN_ROUND,
3.14,
{1.0, 2.0, 3.0, 4.0, 5.0, 6.0}
{2.0, 0.0, 0.0, 2.0, 5.0, 5.0}
},
{
CAIRO_OPERATOR_ATOP,
@ -62,7 +62,7 @@ settings_t settings[] = {
CAIRO_LINE_CAP_ROUND,
CAIRO_LINE_JOIN_BEVEL,
1000.0,
{.1, .01, .001, .0001, .00001, .000001}
{-3.0, 1.0, 1.0, -3.0, -4, -4}
}
};