removed std:: to make round compile

This commit is contained in:
Dhanya Maliakal 2017-03-03 16:00:22 +01:00
parent 475f0692a0
commit e86e9361b6

View File

@ -75,7 +75,7 @@ class energyConversion
V linearInterpolation(const E x, const E x1, const E x2, const V y1, const V y2){
double k = static_cast<double>(y2-y1)/(x2-x1);
double m = y1-k*x1;
int y = std::round( k*x+m );
int y = round( k*x+m );
return static_cast<V>(y);
}