Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit 7677a0f3 authored by unknown's avatar unknown
Browse files

update compilation windows

parent cabcccf8
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#ifndef __HISTOGRAM__ #ifndef __HISTOGRAM__
#define __HISTOGRAM__ #define __HISTOGRAM__
#define _USE_MATH_DEFINES
#include <cmath>
#include "Topology/generic/attributeHandler.h" #include "Topology/generic/attributeHandler.h"
#include "Topology/generic/cellmarker.h" #include "Topology/generic/cellmarker.h"
#include "Geometry/vector_gen.h" #include "Geometry/vector_gen.h"
......
...@@ -60,7 +60,7 @@ void Histogram::populateHisto(unsigned int nbclasses) ...@@ -60,7 +60,7 @@ void Histogram::populateHisto(unsigned int nbclasses)
{ {
//compute nb classes if necesary //compute nb classes if necesary
if (nbclasses == 0) if (nbclasses == 0)
m_nbclasses = (unsigned int)(sqrt(m_dataIdx.size())); m_nbclasses = (unsigned int)(sqrt(double(m_dataIdx.size())));
else else
m_nbclasses = nbclasses; m_nbclasses = nbclasses;
......
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