htrdr

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

commit 182060d6dd367fa225f0a987e07ef2165bef3bfa
parent 9043dca99f83dbf723b92218406ea6baf2c09e16
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 20 Nov 2020 12:16:01 +0100

Fix a "not computable at load time" GCC warning

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

diff --git a/src/htrdr_sensor.c b/src/htrdr_sensor.c @@ -63,7 +63,7 @@ sample_rectangle_ray struct s3d_hit hit = S3D_HIT_NULL; double pix_samp[2]; const double up_dir[3] = {0,0,1}; - const double range[2] = {0, INF}; + const double range[2] = {0, DBL_MAX}; double normal[3]; ASSERT(rect && htrdr && ipix && pix_sz && rng && ray_org && ray_dir);