Skip to content

Commit

Permalink
fix coverity 1075395 (constructor init), re #11328
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed Mar 12, 2015
1 parent a378938 commit 28c6a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/DataHandling/src/DetermineChunking.cpp
Expand Up @@ -229,12 +229,12 @@ void DetermineChunking::exec() {
filesize = double(info.getSize()) * 144.0 / (1024.0 * 1024.0 * 1024.0);
g_log.notice() << "Wksp size is " << filesize << " GB" << std::endl;
LoadTOFRawNexus lp;
lp.signalNo = 1;
lp.m_signalNo = 1;
// Find the entry name we want.
std::string entry_name = LoadTOFRawNexus::getEntryName(filename);
std::vector<std::string> bankNames;
lp.countPixels(filename, entry_name, bankNames);
m_numberOfSpectra = static_cast<int>(lp.numPixels);
m_numberOfSpectra = static_cast<int>(lp.m_numPixels);
g_log.notice() << "Spectra size is " << m_numberOfSpectra << " spectra"
<< std::endl;
} else {
Expand Down

0 comments on commit 28c6a47

Please sign in to comment.