From fb7f935efdb75d2bf7214b36f55c840e6e2c5b45 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Mon, 15 Jan 2024 13:40:33 +0100 Subject: [PATCH] Add path separator to binary output file names --- src/sphere/sphere.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sphere/sphere.cpp b/src/sphere/sphere.cpp index b21d7ea8..448002d2 100644 --- a/src/sphere/sphere.cpp +++ b/src/sphere/sphere.cpp @@ -37,8 +37,8 @@ void sphere(string config_file, string data_file, string output_path) { printf("FILE: %s\n", ex.what()); exit(1); } - sconf->write_formatted(output_path + "c_OEDFB"); - sconf->write_binary(output_path + "c_TEDF"); + sconf->write_formatted(output_path + "/c_OEDFB"); + sconf->write_binary(output_path + "/c_TEDF"); GeometryConfiguration *gconf = NULL; try { gconf = GeometryConfiguration::from_legacy(data_file); -- GitLab