int value = _lastConceptUpdated->getActualValue();
int min = _lastConceptUpdated->getMinValue();
int max = _lastConceptUpdated->getMaxValue();
- int delta = (int) (pow( 2.0, _resolutionSlider->GetValue() ));
+ int delta = (int) (pow((double) 2, _resolutionSlider->GetValue() ));
int minTmp = value - delta/2;
int maxTmp = value + delta/2;
if (minTmp<min)
int value = theConceptToUpdate->getActualValue();
int min = theConceptToUpdate->getMinValue();
int max = theConceptToUpdate->getMaxValue();
- int delta = (int) (pow( 2.0, _resolutionSlider->GetValue() ));
+ int delta = (int) (pow((double) 2, _resolutionSlider->GetValue() ));
int minTmp = value - delta/2;
int maxTmp = value + delta/2;
if (minTmp<min)