htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit 3b553e4226a2406050a0a1f2afdfbd4eb5716694
parent ce0d3f8037a1191c301c5c0361eebe7c94ecfd43
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 26 Oct 2022 08:42:50 +0200

htrdr-combustion: fix a returned result code

Diffstat:
Msrc/combustion/htrdr_combustion.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/combustion/htrdr_combustion.c b/src/combustion/htrdr_combustion.c @@ -589,7 +589,7 @@ htrdr_combustion_create cmd = MEM_CALLOC(htrdr_get_allocator(htrdr), 1, sizeof(*cmd)); if(!cmd) { htrdr_log_err(htrdr, "Could not allocate the htrdr_combustion data.\n"); - res = RES_BAD_ARG; + res = RES_MEM_ERR; goto error; } ref_init(&cmd->ref);