Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
a4f5bcca
Commit
a4f5bcca
authored
Oct 08, 2018
by
Purves, Murray
Browse files
Adding missing = to allow SpectrumData retrieval for index 0
parent
131b88fa
Pipeline
#16162
failed with stages
in 7 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixio/spectrum.cc
View file @
a4f5bcca
...
...
@@ -245,7 +245,7 @@ void Spectrum::spectrumData(int i, std::string &title, std::string &source,
float
&
totalNeutronCount
,
int
&
numberOfChannels
,
std
::
vector
<
float
>
&
countsByChannel
)
{
if
(
i
>
0
&&
i
<
mSpectrumData
.
size
())
if
(
i
>
=
0
&&
i
<
mSpectrumData
.
size
())
{
size_t
i_
=
size_t
(
i
);
SpectrumData
spectrum
=
mSpectrumData
[
i_
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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