Remove isnan call that's seemingly impossible to call portably

This commit is contained in:
baldurk
2020-07-13 21:04:38 +01:00
parent cf867816ab
commit eabfb9b074
+1 -1
View File
@@ -1156,7 +1156,7 @@ void GetProjectedIndex(
CGV_IMAGE img_diff = image_max-image_min;
if (img_diff == 0.0f) return;
if (std::isnan(img_diff)) return;
// if (std::isnan(img_diff)) return;
image_s = (clusters-1)/img_diff;