diff options
author | jenn <jenn@lindenlab.com> | 2011-01-20 15:58:15 -0800 |
---|---|---|
committer | jenn <jenn@lindenlab.com> | 2011-01-20 15:58:15 -0800 |
commit | eb2c9d224a77b30635b80e089a2a82b2bb9670d1 (patch) | |
tree | cd54ac1afff821e51edfd77db11f20a281af855d /indra/llmath | |
parent | d4df4c46c37c416684076e826e1d0b8d13a6830c (diff) |
LLMatrix3::orthogonalize test was failing; possibly due to new lib dependencies or architecture on the build machines? Trying updating expected float values to see if it begins to pass.
Updated expected values to match result of query on WolframAlpha.com (mathematica):
N[Orthogonalize[{{1,4,3},{1,2,0},{2,4,2}}],8]
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/tests/m3math_test.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/llmath/tests/m3math_test.cpp b/indra/llmath/tests/m3math_test.cpp index e4d31996a3..1dead53485 100644 --- a/indra/llmath/tests/m3math_test.cpp +++ b/indra/llmath/tests/m3math_test.cpp @@ -281,15 +281,15 @@ namespace tut llmat_obj.orthogonalize(); ensure("LLMatrix3::orthogonalize failed ", - is_approx_equal(0.19611613f, llmat_obj.mMatrix[0][0]) && + is_approx_equal(0.19611614f, llmat_obj.mMatrix[0][0]) && is_approx_equal(0.78446454f, llmat_obj.mMatrix[0][1]) && - is_approx_equal(0.58834839f, llmat_obj.mMatrix[0][2]) && - is_approx_equal(0.47628206f, llmat_obj.mMatrix[1][0]) && - is_approx_equal(0.44826555f, llmat_obj.mMatrix[1][1]) && - is_approx_equal(-0.75644791f, llmat_obj.mMatrix[1][2]) && - is_approx_equal(-0.85714287f, llmat_obj.mMatrix[2][0]) && + is_approx_equal(0.58834841f, llmat_obj.mMatrix[0][2]) && + is_approx_equal(0.47628204f, llmat_obj.mMatrix[1][0]) && + is_approx_equal(0.44826545f, llmat_obj.mMatrix[1][1]) && + is_approx_equal(-0.75644795f, llmat_obj.mMatrix[1][2]) && + is_approx_equal(-0.85714286f, llmat_obj.mMatrix[2][0]) && is_approx_equal(0.42857143f, llmat_obj.mMatrix[2][1]) && - is_approx_equal(-0.28571427f, llmat_obj.mMatrix[2][2])); + is_approx_equal(-0.28571429f, llmat_obj.mMatrix[2][2])); } //test case for adjointTranspose() fn. |