diff --git a/Code/Mantid/Framework/Algorithms/src/MonteCarloAbsorption.cpp b/Code/Mantid/Framework/Algorithms/src/MonteCarloAbsorption.cpp index e7b5eea7591352195a790f0d2cb355e8afd765c0..9a97149633746fdec7ab5afd7315f316103da81f 100644 --- a/Code/Mantid/Framework/Algorithms/src/MonteCarloAbsorption.cpp +++ b/Code/Mantid/Framework/Algorithms/src/MonteCarloAbsorption.cpp @@ -452,14 +452,11 @@ void MonteCarloAbsorption::initCaches() { m_numVolumeElements = m_blocks.size(); g_log.debug() << "Sample + container divided into " << m_numVolumeElements - << " blocks."; + << " blocks.\n"; if (m_numVolumeElements == 0) { - g_log.error() << "No blocks intersect with the sample + container.\n"; throw std::runtime_error("No intersection with sample + container."); } - if (m_numVolumeElements == numPossibleVolElements) - g_log.debug("\n"); - else + if (m_numVolumeElements != numPossibleVolElements) g_log.debug() << " Skipped " << (numPossibleVolElements - m_numVolumeElements) << " blocks that do not intersect with the sample + container\n";