From d67694f3e17b203676c51b1fe34ddb9f7cd5bd6a Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Fri, 3 May 2024 09:16:36 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/gromacs/gmxana/gmx_analyze.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gmxana/gmx_analyze.cpp b/src/gromacs/gmxana/gmx_analyze.cpp index d26093150ac..d7569e9905e 100644 --- a/src/gromacs/gmxana/gmx_analyze.cpp +++ b/src/gromacs/gmxana/gmx_analyze.cpp @@ -934,7 +934,7 @@ static void print_fitted_function(const char* fitfile, std::filesystem::path buf; if (fn_fitted) { - buf = gmx::concatenateBeforeExtension(fn_fitted.value(), gmx::formatString("_%d", s)); + buf = gmx::concatenateBeforeExtension(fn_fitted, gmx::formatString("_%d", s)); } do_fit(out_fit, s, FALSE, n, t, val, npargs, ppa, oenv, buf.c_str()); }