diff --git a/source/vector.c b/source/vector.c index 8628a3b..d51f267 100644 --- a/source/vector.c +++ b/source/vector.c @@ -7,7 +7,7 @@ void vector_init(vector_t * vector, size_t element_size, size_t element_count) { - assert(vector->element_size); + assert(element_size); vector->data = NULL; vector->element_size = element_size;