Skip to content
Snippets Groups Projects
Commit d4dd7c95 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Applied code formatting script

parent e6a924ed
No related branches found
No related tags found
No related merge requests found
...@@ -661,7 +661,8 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) { ...@@ -661,7 +661,8 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) {
/* Then create output-specific subdirectory if necessary */ /* Then create output-specific subdirectory if necessary */
char subDirName[FILENAME_BUFFER_SIZE] = ""; char subDirName[FILENAME_BUFFER_SIZE] = "";
if (strcmp(e->stf_subdir_per_output, engine_default_stf_subdir_per_output) != 0) { if (strcmp(e->stf_subdir_per_output, engine_default_stf_subdir_per_output) !=
0) {
if (snprintf(subDirName, FILENAME_BUFFER_SIZE, "%s%s_%04i/", outputDirName, if (snprintf(subDirName, FILENAME_BUFFER_SIZE, "%s%s_%04i/", outputDirName,
e->stf_subdir_per_output, e->stf_subdir_per_output,
e->stf_output_count) >= FILENAME_BUFFER_SIZE) { e->stf_output_count) >= FILENAME_BUFFER_SIZE) {
...@@ -719,9 +720,9 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) { ...@@ -719,9 +720,9 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) {
/* Call VELOCIraptor. */ /* Call VELOCIraptor. */
group_info = (struct groupinfo *)InvokeVelociraptor( group_info = (struct groupinfo *)InvokeVelociraptor(
e->stf_output_count, outputFileName, cosmo_info, sim_info, nr_gparts, nr_parts, e->stf_output_count, outputFileName, cosmo_info, sim_info, nr_gparts,
nr_sparts, swift_parts, cell_node_ids, e->nr_threads, linked_with_snap, nr_parts, nr_sparts, swift_parts, cell_node_ids, e->nr_threads,
&num_gparts_in_groups); linked_with_snap, &num_gparts_in_groups);
/* Report that the memory was freed */ /* Report that the memory was freed */
memuse_log_allocation("VR.cell_loc", sim_info.cell_loc, 0, 0); memuse_log_allocation("VR.cell_loc", sim_info.cell_loc, 0, 0);
......
  • Owner

    Sorry, always slips my mind!

  • Author Owner

    Forgot to do it this morning on the MR. This I caught it before jenkins spams us :)

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment