On Jun 28, 2013, at 4:23 PM, Nyah Chck wrote:

> I am working on adding support for orthogonal matrices in bn_mat_inverse() 
> and its failing 3 regression tests. 
> need some help

Which tests are failing; is it the regression or benchmark tests?

For most of the tests, results are compared against known good values.  The 
first step when encountering a failure is to look at the before and after to 
see if the change is anything obvious or helpful.  For the benchmarks, the 
results are actually images, so it's really easy to see the differences.  There 
is a reference image file in the pix/ directory.  There is a computed image pix 
file in the bench directory.  You can run "pix-fb ../pix/reference.pix" and 
"pix-fb bench/computed.pix" to see the two images.  You can run "pixdiff 
bench/computed.pix ../pix/reference.pix | pix-fb" to visualize the differences 
(errors) between the two (they'll be the white pixels)".

Cheers!
Sean


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to