From f74e2d5cf5ecba4d19231adaf25a81e7ca63e6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 4 Mar 2019 19:35:04 +0100 Subject: [PATCH] Fix bug --- trigonometric/bounding-box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trigonometric/bounding-box.c b/trigonometric/bounding-box.c index 4dc0225..ac51cac 100644 --- a/trigonometric/bounding-box.c +++ b/trigonometric/bounding-box.c @@ -169,7 +169,7 @@ void bounding_box_update_point(union bounding_box *destination, conv_generic_to_ return; } - if (!conv_func) + if (conv_func) conv_func(pt, &point); else (void)vector_2d_copy(&point, (struct vector_2d *)pt);