mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-12 19:40:28 +02:00
Fixed a bug where sqrt wasn't found
sqrt is a math library function, not in standard lib
This commit is contained in:
@@ -110,7 +110,7 @@ double IntelliToolGradient::dotProduct(double Vector1[2], double Vector2[2]){
|
||||
}
|
||||
|
||||
double IntelliToolGradient::lenghtVector(double Vector[2]){
|
||||
return static_cast<double>((std::sqrt(Vector[0] * Vector[0] + Vector[1] * Vector[1])));
|
||||
return static_cast<double>((sqrt(Vector[0] * Vector[0] + Vector[1] * Vector[1])));
|
||||
}
|
||||
|
||||
void IntelliToolGradient::computeGradientLayer(){
|
||||
|
||||
Reference in New Issue
Block a user