commit 3816c6bd89b66a46889f88cdcc952ca8287eb30f
parent dd71a4b4d3d73101f4e8a245bfbd4178d88ca0bb
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 28 Apr 2023 14:08:45 +0200
Turning another warning message into an error message
If the attempt to find a reinjection direction failed, we would print a
warning while the result returned was an unrecoverable error, i.e. the
trajectory was rejected. This message is now printed as an error.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sdis_heat_path_boundary_Xd_c.h b/src/sdis_heat_path_boundary_Xd_c.h
@@ -415,10 +415,10 @@ XD(find_reinjection_ray)
if(dst0 == -1 && dst1 == -1) { /* No valid reinjection */
#if DIM == 2
- log_warn(scn->dev, "%s: no valid reinjection direction at {%g, %g}.\n",
+ log_err(scn->dev, "%s: no valid reinjection direction at {%g, %g}.\n",
FUNC_NAME, SPLIT2(ray->org));
#else
- log_warn(scn->dev, "%s: no valid reinjection direction at {%g, %g, %g}.\n",
+ log_err(scn->dev, "%s: no valid reinjection direction at {%g, %g, %g}.\n",
FUNC_NAME, SPLIT3(ray->org));
#endif
res = RES_BAD_OP_IRRECOVERABLE;