Skip to content

Commit

Permalink
Fix for Windows. Refs #5306.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Jul 6, 2012
1 parent cb2d163 commit 8f07686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/CurveFitting/src/LeBailFunction.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "MantidCurveFitting/LeBailFunction.h"
#include "MantidKernel/System.h"
#include "MantidAPI/FunctionFactory.h"
#include <gsl/gsl_sf_erf.h>

#define DEFAULTPEAKWIDTHFACTOR 8.0

Expand Down Expand Up @@ -85,7 +86,7 @@ namespace CurveFitting
double Tcross = getParameter("Tcross");

// 2. Start to calculate alpha, beta, sigma2, gamma,
double n = 0.5*erfc(wcross*(Tcross-1/dh));
double n = 0.5*gsl_sf_erfc(wcross*(Tcross-1/dh));

double alpha_e = Alph0 + Alph1*dh;
double alpha_t = Alph0t - Alph1t/dh;
Expand Down

0 comments on commit 8f07686

Please sign in to comment.