[fix] vector zeros allocation

This commit is contained in:
Al
2015-09-14 16:50:08 -04:00
parent c21f61b9b4
commit 3ea6358f77

View File

@@ -32,7 +32,7 @@
name *vector = name##_new_size(n); \
memset(vector->a, 0, n * sizeof(type)); \
vector->n = n; \
return name##_new_value(n, (type)0); \
return vector; \
} \
\
static inline type type##_array_max(type *array, size_t n) { \