Commit d5ae23d4 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'velociraptor_numcells_fix' into 'master'

Fix a typo in the Velociraptor interface that causes numcells to be incorrect

See merge request !1024
parents 1d7fce84 f458f6e2
......@@ -557,7 +557,7 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) {
/* Store number of top-level cells */
sim_info.numcells = s->nr_cells;
sim_info.numcells = s->cdim[0]; /* We assume a cubic box! */
sim_info.numcellsperdim = s->cdim[0]; /* We assume a cubic box! */
if (s->cdim[0] != s->cdim[1] || s->cdim[0] != s->cdim[2])
error("Trying to run VR on a non-cubic number of top-level cells");
......
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