Skip to content

Commit

Permalink
Partially fix new code and put comment for part not yet fixed re #4137
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
  • Loading branch information
KarlPalmen committed Nov 28, 2011
1 parent b336bbb commit 3a293c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Code/Mantid/Framework/DataObjects/src/PeaksWorkspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,15 @@ namespace DataObjects
// file->writeData( "Column_1", col ); // This is not resolved by linker.

std::vector<int> detectorID;
std::vector<dpuble> H;
std::vector<double> H;
for (size_t i=0; i < peaks.size(); i++)
{
Peak & p = peaks[i];
detectorID.push_back( p.m_DetectorID );
H.push_back( p.m_H );
Peak p = peaks[i];
detectorID.push_back( p.m_DetectorID ); //Protected member of Peak.h not accessible here
H.push_back( p.m_H ); //Protected member of Peak.h not accessible here
// etc.
}
file->writeData("detector_id", detectorIDs);
file->writeData("detector_id", detectorID);
file->writeData("H", H);
// etc.
}
Expand Down

0 comments on commit 3a293c4

Please sign in to comment.