Commit 9d66a8d1 authored by James Willis's avatar James Willis
Browse files

Set the value of h_max correctly.

parent 0c4ceb01
......@@ -156,7 +156,7 @@ struct cell *make_cell(size_t n, double *offset, double size, double h,
/* Cell properties */
cell->split = 0;
cell->h_max = h;
cell->h_max = size * h / (float)n;
cell->count = count;
cell->dx_max_part = 0.;
cell->dx_max_sort = 0.;
......
Supports Markdown
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