From eb2316ecc7dfe2f7a87153c0094bda8754f6d36f Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 31 Aug 2005 13:33:42 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ test/get-and-set.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 133425d9a..103479e7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-31 Carl Worth + + * 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 * AUTHORS: Add Radek DoulĂ­k. diff --git a/test/get-and-set.c b/test/get-and-set.c index 72d661047..1ebdddd0e 100644 --- a/test/get-and-set.c +++ b/test/get-and-set.c @@ -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} } };