From 21fddf7d1c0653881773e44cea6e9d0804a08b31 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 16 May 2016 00:48:02 +0200 Subject: C99/C++11: replace deprecated finite() by isfinite(). --- source/blender/blenlib/intern/math_vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/math_vector.c') diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c index 3e464327b2e..46e25fc3f4f 100644 --- a/source/blender/blenlib/intern/math_vector.c +++ b/source/blender/blenlib/intern/math_vector.c @@ -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; -- cgit v1.2.3