commit 56641effa9d09c5bb7ffcdbe5bfae364e983b73c
parent 7efdc1db2fb1cf8c5819df4df488923d2e76981e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 20 Apr 2026 15:19:26 +0200
sln-slab: Fixed a log message
This refers to the log message that displays, for debugging purposes,
the path to a node for which the sum of its children's ka values is not
less than its own ka value. This message was formatted according to the
set of options used when trees were necessarily binary, which is no
longer the case. Hence this correction, which accounts for the update of
traversal options based on the tree's arity (commit 444d1e7).
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sln_slab.c b/src/sln_slab.c
@@ -348,8 +348,8 @@ build_node_cumulative
if(cmd->args.verbose >= 1) {
fprintf(stderr,
"error: ka < ka_{0} + ka_{1} + ... ka_{N-1}; "
- "%e < %e; nu=%-21.20g cm^-1; node path: %c%s\n",
- ka, cumul, nu, path[0] != '\0' ? '-' : ' ', path);
+ "%e < %e; nu=%-21.20g cm^-1; node path: %s\n",
+ ka, cumul, nu, path);
}
res = RES_BAD_ARG;
goto error;