Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube :

Commit eadc3cbc authored by Basile Sauvage's avatar Basile Sauvage
Browse files

correction normalisation des quantiles

parent 9d6fd632
......@@ -128,7 +128,7 @@ void Histogram::populateQuantiles(unsigned int nbquantiles)
double lc = 1.0f;
if (m_nbclasses != 0) //for histo superposition
lc = double(m_dataIdx.back().first - m_dataIdx.front().first )/double(m_nbclasses);
lc = double(getMax() - getMin() )/double(m_nbclasses);
for (unsigned int i = 0; i < nbquantiles; ++i)
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