Commit f458f6e2 authored by John Helly's avatar John Helly
Browse files

Fixed a typo in the velociraptor interface

parent 1d7fce84
......@@ -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