Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixMath
Commits
75279e55
Commit
75279e55
authored
Dec 20, 2020
by
Pierre Aubert
Browse files
Add branch test
parent
52fa03bc
Pipeline
#96671
passed with stages
in 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/PHistogram/PHistogram_impl.h
src/PHistogram/PHistogram_impl.h
+5
-2
No files found.
src/PHistogram/PHistogram_impl.h
View file @
75279e55
...
...
@@ -238,8 +238,11 @@ void PHistogram<T>::allocateHist(size_t nbValue){
delete
[]
p_value
;
}
p_nbValue
=
nbValue
;
if
(
nbValue
==
0lu
){
return
;}
p_value
=
new
T
[
p_nbValue
];
if
(
nbValue
==
0lu
){
p_value
=
NULL
;
}
else
{
p_value
=
new
T
[
p_nbValue
];
}
}
///Copy function of a PHistogram
...
...
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