gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/asobj/flash/geom/Matrix_...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/asobj/flash/geom/Matrix_...
Date: Tue, 10 Jun 2008 07:49:27 +0200

On Tue, Jun 10, 2008 at 05:25:59AM +0000, Benjamin Wolsey wrote:
> CVSROOT:      /sources/gnash
> Module name:  gnash
> Changes by:   Benjamin Wolsey <bwy>   08/06/10 05:25:59
> 
> Modified files:
>       .              : ChangeLog 
>       server/asobj/flash/geom: Matrix_as.cpp 
> 
> Log message:
>               * server/asobj/flash/geom/Matrix_as.cpp: add optional debugging 
> output;
>                 lu_factorize's failure to notice that some matrices aren't 
> invertible
>                 is a known problem with that solving method. Add a try/catch 
> to handle
>                 the exception. As the exception is only thrown when NDEBUG is 
> defined,
>                 I'll find a more reliable solver. Gnash is about 60-70% 
> faster than
>                 the PP for flash.geom.Matrix operations in a loop, despite 
> being
>                 almost 50% slower executing the loop itself...


Here's what I get:

29552:3062630720] 07:48:41 TRACE: PASSED: m6.toString() == "(a=4, b=5, c=44, 
d=55, tx=2, ty=4)" 
[/home/strk/src/gnash/gnash-head/testsuite/actionscript.all/Mat
rix.as:189]
Check failed in file /usr/include/boost/numeric/ublas/lu.hpp at line 290:
detail::expression_type_check (prod (triangular_adaptor<const_matrix_type, 
upper> (m), e), cm2)
29552:3062630720] 07:48:41 TRACE: FAILED: expected: "(a=1, b=0, c=0, d=1, tx=0, 
ty=0)" obtained: (a=4.5035996273705e+15, b=-409418147942772, 
c=-3.6028797018964e+15, d=327534518354218, tx=5.4043195528446e+15, 
ty=-491301777531327) 
[/home/strk/src/gnash/gnash-head/testsuite/actionscript.all/Matrix.as:191]
29552:3062630720] 07:48:41 TRACE: PASSED: m6.toString() == "(a=4, b=5, c=0, 
d=5, tx=2, ty=3)" 
[/home/strk/src/gnash/gnash-head/testsuite/actionscript.all/Matrix.as:195]
29552:3062630720] 07:48:41 TRACE: FAILED: expected: "(a=0.25, b=-0.25, c=0, 
d=0.2, tx=-0.5, ty=-0.1)" obtained: (a=0.25, b=-0.25, c=-1.11022302462516e-17, 
d=0.2, tx=-0.5, ty=-0.1) 
[/home/strk/src/gnash/gnash-head/testsuite/actionscript.all/Matrix.as:197]

Note that the boost failing check writes to stderr.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]