Skip to content
Snippets Groups Projects
Commit c2870c68 authored by Pete Peterson's avatar Pete Peterson
Browse files

Merge pull request #15334 from mantidproject/coverity_mismatched_iterator

Fix mismatched_iterator warning on coverity-scan.
parents 9e47fc0d 38eab6ff
No related branches found
No related tags found
No related merge requests found
...@@ -612,7 +612,7 @@ void LoadMask::parseDetectorIDs(std::string inputstr, bool tomask) { ...@@ -612,7 +612,7 @@ void LoadMask::parseDetectorIDs(std::string inputstr, bool tomask) {
// 2. Set to data storage // 2. Set to data storage
if (tomask) { if (tomask) {
mask_detid_single.insert(unmask_detid_single.end(), singles.begin(), mask_detid_single.insert(mask_detid_single.end(), singles.begin(),
singles.end()); singles.end());
for (size_t i = 0; i < pairs.size() / 2; i++) { for (size_t i = 0; i < pairs.size() / 2; i++) {
mask_detid_pair_low.push_back(pairs[2 * i]); mask_detid_pair_low.push_back(pairs[2 * i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment