Commit 7a5efc8c authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'fix_vel' into 'master'

Updated enum names for VELOCIraptor output.

See merge request !621
parents 21d1dd6a 8fddd637
......@@ -218,10 +218,10 @@ void velociraptor_invoke(struct engine *e) {
/* Append base name with either the step number or time depending on what
* format is specified in the parameter file. */
char outputFileName[PARSER_MAX_LINE_SIZE + 128];
if (e->stf_output_freq_format == STEPS) {
if (e->stf_output_freq_format == io_stf_steps) {
snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor",
e->stfBaseName, e->step);
} else if (e->stf_output_freq_format == TIME) {
} else if (e->stf_output_freq_format == io_stf_time) {
snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04e.VELOCIraptor",
e->stfBaseName, e->time);
}
......
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