Author: bugman Date: Wed Aug 19 10:43:51 2009 New Revision: 9337 URL: http://svn.gna.org/viewcvs/relax?rev=9337&view=rev Log: Fix for the test_kron_prod() unit test. The R2 matrix didn't match the tested real Kronecker product. Modified: 1.3/test_suite/unit_tests/_maths_fns/test_kronecker_product.py Modified: 1.3/test_suite/unit_tests/_maths_fns/test_kronecker_product.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_maths_fns/test_kronecker_product.py?rev=9337&r1=9336&r2=9337&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_maths_fns/test_kronecker_product.py (original) +++ 1.3/test_suite/unit_tests/_maths_fns/test_kronecker_product.py Wed Aug 19 10:43:51 2009 @@ -128,7 +128,7 @@ # The 3D, rank-2 matrices. R1 = array([[1, 4, 5], [-4, 2, 6], [-5, -6, 3]], float64) - R2 = array([[1, 0, 0], [0, 0, 0], [0, 0, 0]], float64) + R2 = array([[0, 1, 0], [0, 0, 0], [0, 0, 0]], float64) # The Kronecker product. C = kron_prod(R1, R2)