Author: bugman Date: Mon Jan 21 17:12:42 2008 New Revision: 4880 URL: http://svn.gna.org/viewcvs/relax?rev=4880&view=rev Log: Bug fix for the unit test of the maths_fns.n_state_model.func() optimisation target function. There was a mix up between Sxz and Syz between the reduced and full tensors! Modified: branches/N_state_model/test_suite/unit_tests/_maths_fns/test_n_state_model.py Modified: branches/N_state_model/test_suite/unit_tests/_maths_fns/test_n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/test_suite/unit_tests/_maths_fns/test_n_state_model.py?rev=4880&r1=4879&r2=4880&view=diff ============================================================================== --- branches/N_state_model/test_suite/unit_tests/_maths_fns/test_n_state_model.py (original) +++ branches/N_state_model/test_suite/unit_tests/_maths_fns/test_n_state_model.py Mon Jan 21 17:12:42 2008 @@ -45,7 +45,7 @@ full_tensors = array([[[1.0, 0.0, 0.0], [0.0, 0.5, 0.0], [0.0, 0.0, -1.5]], [[1.0, 1.0, 0.0], [1.0, 0.5, 0.0], [0.0, 0.0, -1.5]], [[1.0, 0.0, 1.0], [0.0, 0.5, 0.0], [1.0, 0.0, -1.5]]], float64) - red_data = array([1.0, 0.5, 0.0, 0.0, 0.0, 1.0, 0.5, 1.0, 0.0, 0.0, 1.0, 0.5, 0.0, 0.0, 1.0], float64) + red_data = array([1.0, 0.5, 0.0, 0.0, 0.0, 1.0, 0.5, 1.0, 0.0, 0.0, 1.0, 0.5, 0.0, 1.0, 0.0], float64) err = ones(3*5, float64) # Set up the class.