Skip to content

Commit

Permalink
Remove some unused code. Refs #7847.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Sep 10, 2013
1 parent 3745fc2 commit 4caaa3f
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions Code/Mantid/Framework/CurveFitting/src/LeBailFit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1255,23 +1255,6 @@ namespace CurveFitting
double gamma = peak->getPeakParameter("Gamma");
double fwhm = peak->fwhm();

#if 0
m_lebailFunction->getPeak(i)

vector<int>& hkl = m_inputPeakInfoVec[ipk].first;
int h = hkl[0];
int k = hkl[1];
int l = hkl[2];

double tof_h = m_lebailFunction->getPeakParameter(hkl, "TOF_h");
double height = m_lebailFunction->getPeakParameter(hkl, "Height");
double alpha = m_lebailFunction->getPeakParameter(hkl, "Alpha");
double beta = m_lebailFunction->getPeakParameter(hkl, "Beta");
double sigma2 = m_lebailFunction->getPeakParameter(hkl, "Sigma2");
double gamma = m_lebailFunction->getPeakParameter(hkl, "Gamma");
double fwhm = m_lebailFunction->getPeakParameter(hkl, "FWHM");
#endif

// New row
API::TableRow newrow = peakWS->appendRow();
newrow << h << k << l << height << tof_h << alpha << beta << sigma2 << gamma << fwhm
Expand All @@ -1286,7 +1269,7 @@ namespace CurveFitting
}
}

// 4. Set
// Set property
this->setProperty("OutputPeaksWorkspace", peakWS);

return;
Expand Down

0 comments on commit 4caaa3f

Please sign in to comment.