From bc3c1bc2d9e4aa64448f000fed30f33a87dd581e Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Wed, 21 Feb 2024 17:34:54 +0100 Subject: [PATCH] Cover integer parameters through get_param() --- src/libnptm/tfrfme.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libnptm/tfrfme.cpp b/src/libnptm/tfrfme.cpp index c15dd33f..27941bcb 100644 --- a/src/libnptm/tfrfme.cpp +++ b/src/libnptm/tfrfme.cpp @@ -218,6 +218,12 @@ double TFRFME::get_param(string param_name) { else if (param_name.compare("spd") == 0) value = spd; else if (param_name.compare("frsh") == 0) value = frsh; else if (param_name.compare("exril") == 0) value = exril; + else if (param_name.compare("lmode") == 0) value = 1.0 * lmode; + else if (param_name.compare("lm") == 0) value = 1.0 * lm; + else if (param_name.compare("nkv") == 0) value = 1.0 * nkv; + else if (param_name.compare("nxv") == 0) value = 1.0 * nxv; + else if (param_name.compare("nyv") == 0) value = 1.0 * nyv; + else if (param_name.compare("nzv") == 0) value = 1.0 * nzv; else { string message = "Unrecognized parameter name \"" + param_name + "\""; UnrecognizedParameterException ex(message); -- GitLab