Replace 0 by 0.0 for double value comparison. This is nicer.

This commit is contained in:
Mario Hüttel 2019-08-20 22:42:44 +02:00
parent 85f037ce59
commit 4b238c55ea
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
#include <gds-render/geometric/vector-operations.h>
#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)
{