Author: bugman Date: Tue Dec 2 12:13:56 2014 New Revision: 26889 URL: http://svn.gna.org/viewcvs/relax?rev=26889&view=rev Log: Fix for the Relax_disp.test_estimate_r2eff_err_methods system test. The parameter vector x0 must be a numpy array, otherwise the relax_fit C module segfaults. Modified: branches/relax_fit_c_class/test_suite/system_tests/relax_disp.py Modified: branches/relax_fit_c_class/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_fit_c_class/test_suite/system_tests/relax_disp.py?rev=26889&r1=26888&r2=26889&view=diff ============================================================================== --- branches/relax_fit_c_class/test_suite/system_tests/relax_disp.py (original) +++ branches/relax_fit_c_class/test_suite/system_tests/relax_disp.py Tue Dec 2 12:13:56 2014 @@ -3590,7 +3590,7 @@ # Convert to numpy array. I_err = asarray(I_err) - x0 = [r2eff, i0] + x0 = array([r2eff, i0], float64) model = Relax_fit(model='exp', num_params=len(x0), num_times=len(times), values=I_err, sd=errors, relax_times=times, scaling_matrix=scaling_list) params_minfx_sim_j, chi2_minfx_sim_j, iter_count, f_count, g_count, h_count, warning = generic_minimise(func=model.func, dfunc=model.dfunc, d2func=model.d2func, args=(), x0=x0, min_algor=min_algor, min_options=min_options, full_output=True, print_flag=0)