htrdr

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

commit 4519d4c12fb3eca5b53bcd4b5f894de1de483924
parent 4edd4b52eb03ec383660a0b73b0e676dd9bbec4d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon,  9 Mar 2020 13:49:23 +0100

Fix an "unused variable" warning

Diffstat:
Msrc/htrdr_interface.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/htrdr_interface.c b/src/htrdr_interface.c @@ -116,6 +116,7 @@ htrdr_interface_create_bsdf const struct mrumtl* mat = NULL; double N[3]; res_T res = RES_OK; + (void)pos; ASSERT(htrdr && pos && hit && out_bsdf); ASSERT(interf && (interf->mtl_front || interf->mtl_back));