From cf6e77f2110c651f1e6f9493da259b4179d5085c Mon Sep 17 00:00:00 2001 From: Thomas Jahns <jahns@dkrz.de> Date: Mon, 4 Oct 2021 03:10:01 +0200 Subject: [PATCH] Clarify documentation. --- src/pio_rpc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pio_rpc.c b/src/pio_rpc.c index 0bf297492..c8dde1944 100644 --- a/src/pio_rpc.c +++ b/src/pio_rpc.c @@ -45,8 +45,9 @@ computeClientStreamBufSize(int streamID, const struct collSpec *collector) if (collector->partDesc) { /* the distribution of data is fully prescribed in this case, - * i.e. memory needed can be computed exactly for the double - * precision case */ + * i.e. memory needed can be computed exactly if the clients + * also specified the element type as float or double, otherwise + * plan for the double precision case */ const Xt_idxlist *partDesc = collector->partDesc; const int *conversion = collector->conversion; for (size_t varID = 0; varID < nvars; ++varID) -- GitLab