Skip to content

Commit

Permalink
Merge pull request ornladios#3805 from pnorbert/fix-bpls-string-scalar
Browse files Browse the repository at this point in the history
bpls -l  with scalar string variable: print the value (since min/max …

(cherry picked from commit 1949cde)
  • Loading branch information
pnorbert authored and vicentebolea committed Oct 19, 2023
1 parent 647749c commit cf9c2e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/utils/bpls/bpls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1252,8 +1252,9 @@ int printVariableInfo(core::Engine *fp, core::IO *io, core::Variable<T> *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");

Expand Down

0 comments on commit cf9c2e5

Please sign in to comment.