Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
0c88a42a
Commit
0c88a42a
authored
Oct 03, 2018
by
Lynch, Vickie
Browse files
Refs #23697 fix max of each run
parent
fc2996fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Crystal/src/SaveIsawPeaks.cpp
View file @
0c88a42a
...
...
@@ -267,8 +267,10 @@ void SaveIsawPeaks::exec() {
runMap_t
::
iterator
runMap_it
;
for
(
runMap_it
=
runMap
.
begin
();
runMap_it
!=
runMap
.
end
();
++
runMap_it
)
{
// Start of a new run
if
(
maxPeakNumb
>
0
)
if
(
maxPeakNumb
>
0
)
{
appendPeakNumb
+=
maxPeakNumb
+
1
;
maxPeakNumb
=
0
;
}
int
run
=
runMap_it
->
first
;
bankMap_t
&
bankMap
=
runMap_it
->
second
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment