Skip to content

Commit

Permalink
Refs #8385 Undo commit to fix build servers for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Nov 7, 2013
1 parent 0c841fb commit d37882b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/Framework/DataHandling/src/LoadLLB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ int LoadLLB::getDetectorElasticPeakPosition(const NeXus::NXFloat &data) {
std::vector<int> cumulatedSumOfSpectras(m_numberOfChannels, 0);
for (size_t i = 0; i < m_numberOfTubes; i++) {
float* data_p = &data(static_cast<int>(i), 0);
int data_p_int = static_cast<int>(*data_p);
std::vector<int> thisSpectrum(data_p_int, data_p_int + static_cast<int>(m_numberOfChannels));
std::vector<int> thisSpectrum(data_p, data_p + static_cast<int>(m_numberOfChannels));
// sum spectras
std::transform(thisSpectrum.begin(), thisSpectrum.end(),
cumulatedSumOfSpectras.begin(), cumulatedSumOfSpectras.begin(),
Expand Down

0 comments on commit d37882b

Please sign in to comment.