Commit c1daf020 authored by Colby J Green's avatar Colby J Green
Browse files

fix seg fualt

parent 94e3b07d
......@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
d.buffer[i] = (float) i;
}
stats s = data_calc_stats(NULL);
stats s = data_calc_stats(&d);
data_dtor(&d);
printf("mean = %f\n", s.mean);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment