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
d33b7adb
Commit
d33b7adb
authored
May 03, 2016
by
Alex Buts
Browse files
Re #16049 Clang issues
parent
43118844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Algorithms/src/GetEi.cpp
View file @
d33b7adb
...
...
@@ -329,13 +329,12 @@ void GetEi::extractSpec(int64_t wsInd, double start, double end) {
childAlg
->
setProperty
(
"XMin"
,
start
);
childAlg
->
setProperty
(
"XMax"
,
end
);
if
(
wsInd
<
std
::
numeric_limits
<
int
>::
max
())
{
auto
ivsInd
=
static_cast
<
int
>
(
wsInd
);
childAlg
->
setProperty
(
"StartWorkspaceIndex"
,
ivsInd
);
childAlg
->
setProperty
(
"EndWorkspaceIndex"
,
ivsInd
);
}
else
{
auto
ivsInd
=
static_cast
<
int
>
(
wsInd
);
childAlg
->
setProperty
(
"StartWorkspaceIndex"
,
ivsInd
);
childAlg
->
setProperty
(
"EndWorkspaceIndex"
,
ivsInd
);
}
else
{
childAlg
->
setProperty
(
"StartWorkspaceIndex"
,
wsInd
);
childAlg
->
setProperty
(
"EndWorkspaceIndex"
,
wsInd
);
childAlg
->
setProperty
(
"EndWorkspaceIndex"
,
wsInd
);
}
childAlg
->
executeAsChildAlg
();
...
...
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