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
db46fac6
Commit
db46fac6
authored
Aug 03, 2016
by
Dimitar Tasev
Browse files
Re #16959 ran clang format
parent
3cf82614
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Algorithms/src/GetEi.cpp
View file @
db46fac6
...
...
@@ -380,7 +380,7 @@ void GetEi::getPeakEstimates(double &height, int64_t ¢reInd,
// then loop through all the Y values and find the tallest peak
std
::
accumulate
(
Y
.
begin
(),
Y
.
end
(),
background
);
std
::
max
(
Y
.
begin
(),
Y
.
end
(),
height
);
background
=
background
/
static_cast
<
double
>
(
Y
.
size
());
if
(
height
<
PEAK_THRESH_H
*
background
)
{
throw
std
::
invalid_argument
(
...
...
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