design_matrix_get_case_count was declared as returning a void
but it tried to return a value. Changed it to returning size_t
/*
Get the number of cases for V.
*/
-void
-design_matrix_get_case_count (struct design_matrix *dm, const struct variable *v)
+size_t
+design_matrix_get_case_count (const struct design_matrix *dm, const struct variable *v)
{
size_t i;
assert (dm != NULL);
void design_matrix_set_case_count (struct design_matrix *, const struct variable *, size_t);
-void design_matrix_get_case_count (struct design_matrix *, const struct variable *);
+size_t design_matrix_get_case_count (const struct design_matrix *, const struct variable *);
#endif