From cf9c2e5ad2ace3cf1f46970efddd96d05cbca341 Mon Sep 17 00:00:00 2001 From: pnorbert Date: Thu, 14 Sep 2023 07:14:58 -0400 Subject: [PATCH] Merge pull request #3805 from pnorbert/fix-bpls-string-scalar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bpls -l with scalar string variable: print the value (since min/max … (cherry picked from commit 1949cde67afde04027312603c1d61745eb5e1458) --- source/utils/bpls/bpls.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/utils/bpls/bpls.cpp b/source/utils/bpls/bpls.cpp index 462598d90a..c696690fa0 100644 --- a/source/utils/bpls/bpls.cpp +++ b/source/utils/bpls/bpls.cpp @@ -1252,8 +1252,9 @@ int printVariableInfo(core::Engine *fp, core::IO *io, core::Variable *variabl if (longopt && !timestep) { fprintf(outf, " = "); - auto mm = variable->MinMax(); - print_data(&mm.second, 0, adiosvartype, false); + T value; + fp->Get(*variable, value, adios2::Mode::Sync); + print_data(&value, 0, adiosvartype, false); } fprintf(outf, "\n");