mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-05 15:54:50 -04:00
Explicitly namespace calls to sqrt and isnan
osx/linux have alternative top-level implementations of these methods, so the calls are ambiguous given the - so these should be used explicitly
This commit is contained in:
@ -634,7 +634,7 @@ public:
|
||||
}
|
||||
|
||||
cxAng[k][col] = atan2(c1[1], c1[0]);
|
||||
cxMag[k][col] = sqrt(c1[0] * c1[0] + c1[1] * c1[1]);
|
||||
cxMag[k][col] = std::sqrt(c1[0] * c1[0] + c1[1] * c1[1]);
|
||||
|
||||
if (cxMag[k][col] == 0)
|
||||
zlm[col] = 1;
|
||||
|
Reference in New Issue
Block a user