Skip to content

Commit

Permalink
Refs #9445. PoldiFitPeaks1D stores profile information in table
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wedel committed May 28, 2014
1 parent c779883 commit 2cb03b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Code/Mantid/Framework/SINQ/src/PoldiFitPeaks1D.cpp
Expand Up @@ -104,7 +104,10 @@ void PoldiFitPeaks1D::setPeakFunction(std::string peakFunction)

PoldiPeakCollection_sptr PoldiFitPeaks1D::getInitializedPeakCollection(TableWorkspace_sptr peakTable)
{
return PoldiPeakCollection_sptr(new PoldiPeakCollection(peakTable));
PoldiPeakCollection_sptr peakCollection(new PoldiPeakCollection(peakTable));
peakCollection->setProfileFunctionName(m_profileTemplate);

return peakCollection;
}

IFunction_sptr PoldiFitPeaks1D::getPeakProfile(PoldiPeak_sptr poldiPeak) {
Expand Down

0 comments on commit 2cb03b2

Please sign in to comment.