Commit 75279e55 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add branch test

parent 52fa03bc
Pipeline #96671 passed with stages
in 53 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment