diff --git a/geometric/vector-operations.c b/geometric/vector-operations.c index e383cbd..b236c3f 100644 --- a/geometric/vector-operations.c +++ b/geometric/vector-operations.c @@ -33,7 +33,7 @@ #include -#define ABS_DBL(a) ((a) < 0 ? -(a) : (a)) +#define ABS_DBL(a) ((a) < 0.0 ? -(a) : (a)) double vector_2d_scalar_multipy(struct vector_2d *a, struct vector_2d *b) {