Skip to content

Commit

Permalink
refs #8060 Modified wrong parameter name, spotted by tester.
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed May 6, 2014
1 parent 79b3775 commit 3c2554d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -29,7 +29,7 @@ namespace Mantid
*/
/// Enumerate parameter positions and the Number of parameters
enum {Ampliture,J_coupling,NPARAMS};
enum {Amplitude,J_coupling,NPARAMS};


/// Parameter names, same order as above
Expand Down Expand Up @@ -135,7 +135,7 @@ namespace Mantid

const double qx(point[0]), qy(point[1]), qz(point[2]), eps(point[3]);
const double qsqr = qx*qx + qy*qy + qz*qz;
const double Amplitude = getCurrentParameterValue(AnsatzParameters::Ampliture);
const double Amplitude = getCurrentParameterValue(AnsatzParameters::Amplitude);
const double J_coupling = getCurrentParameterValue(AnsatzParameters::J_coupling);


Expand Down

0 comments on commit 3c2554d

Please sign in to comment.