Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
f458f6e2
Commit
f458f6e2
authored
Feb 19, 2020
by
John Helly
Browse files
Fixed a typo in the velociraptor interface
parent
1d7fce84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/velociraptor_interface.c
View file @
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
.
numcells
perdim
=
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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment