C99/C++11: replace deprecated finite() by isfinite().
[blender.git] / source / blender / blenlib / intern / math_vector.c
index 3e464327b2ec25634ccb50914505632459c9da00..46e25fc3f4f52fb82284a9c276aa69ec1aa76ee5 100644 (file)
@@ -669,7 +669,7 @@ void ortho_basis_v3v3_v3(float r_n1[3], float r_n2[3], const float n[3])
        if (f > eps) {
                const float d = 1.0f / sqrtf(f);
 
-               BLI_assert(finite(d));
+               BLI_assert(isfinite(d));
 
                r_n1[0] =  n[1] * d;
                r_n1[1] = -n[0] * d;