Author: semor Date: Fri Jun 17 13:38:26 2011 New Revision: 13101 URL: http://svn.gna.org/viewcvs/relax?rev=13101&view=rev Log: Changed the call to the exponential decay function to its new name 'exp_2param_neg'. Modified: branches/inversion-recovery/maths_fns/relax_fit.c Modified: branches/inversion-recovery/maths_fns/relax_fit.c URL: http://svn.gna.org/viewcvs/relax/branches/inversion-recovery/maths_fns/relax_fit.c?rev=13101&r1=13100&r2=13101&view=diff ============================================================================== --- branches/inversion-recovery/maths_fns/relax_fit.c (original) +++ branches/inversion-recovery/maths_fns/relax_fit.c Fri Jun 17 13:38:26 2011 @@ -1,5 +1,6 @@ /* * Copyright (C) 2006 Edward d'Auvergne + * Copyright (C) 2011 Sebastien Morin * * This file is part of the program relax. * @@ -123,7 +124,7 @@ } /* Back calculated the peak intensities */ - exponential(params, relax_times, back_calc, num_times); + exp_2param_neg(params, relax_times, back_calc, num_times); /* Calculate and return the chi-squared value */ return Py_BuildValue("f", chi2(values,sd,back_calc,num_times)); @@ -147,7 +148,7 @@ return NULL; /* Back calculated the peak intensities */ - exponential(params, relax_times, back_calc, num_times); + exp_2param_neg(params, relax_times, back_calc, num_times); return NULL; }