commit 3ed00ba6c15ab7d6193439824155ac8ac8c9ba1e
parent 9eaaeea468b069471532ce69ac0dc66b8c57a7d9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 15 Jan 2019 14:42:28 +0100
Upd how invalid emissivity is handled
The integration is no more stopped: reject the sub-path only.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sdis_solve_Xd.h b/src/sdis_solve_Xd.h
@@ -436,7 +436,7 @@ XD(trace_radiative_path)
log_err(scn->dev,
"%s: invalid overall emissivity `%g' at position `%g %g %g'.\n",
FUNC_NAME, epsilon, SPLIT3(rwalk->vtx.P));
- res = RES_BAD_ARG;
+ res = RES_BAD_OP;
goto error;
}