Unverified Commit 53f50166 authored by Gemma Guest's avatar Gemma Guest Committed by GitHub
Browse files

Merge pull request #32410 from mantidproject/fix_cppcheck_threshold

Fix cppcheck threshold
parents cb9e7cba 10b3e087
......@@ -267,7 +267,7 @@ double GetEi2::calculateEi(const double initial_guess) {
* passed
* @param ws_index :: The workspace index of the detector
* @param spectrumInfo :: A spectrum info object for the input workspace
* @return The distance between the source and the given detector(or
* @return The distance between the source and the given detector (or
* DetectorGroup)
* @throw runtime_error if there is a problem
*/
......
......@@ -394,12 +394,12 @@ void LoadRaw3::separateMonitors(FILE *file, const int64_t &period, const std::ve
if (!readData(file, histToRead)) {
throw std::runtime_error("Error reading raw file");
}
// if this a monitor store that spectrum to monitor workspace
// if this a monitor, store that spectrum to monitor workspace
if (isMonitor(monitorList, i)) {
setWorkspaceData(mws_sptr, m_timeChannelsVec, mwsIndex, i, m_noTimeRegimes, m_lengthIn, 1);
++mwsIndex;
} else {
// not a monitor,store the spectrum to normal output workspace
// not a monitor, store the spectrum to normal output workspace
setWorkspaceData(ws_sptr, m_timeChannelsVec, wsIndex, i, m_noTimeRegimes, m_lengthIn, 1);
++wsIndex;
}
......
......@@ -4,7 +4,7 @@ SCRIPT_DIR=$(dirname "$0")
# If errors slip through to master this can be used to set a non-zero
# allowed count while those errors are dealt with. This avoids breaking all
# builds for all developers
ALLOWED_ERRORS_COUNT=1203
ALLOWED_ERRORS_COUNT=1204
if [[ ${JOB_NAME} == *pull_requests* ]]; then
# This relies on the fact pull requests use pull/$PR-NAME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment