commit 751240a95ca02deae1895157c93d62788bff240f
parent 9330403abfa7669e19be693254641149ed48a3da
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 8 Jan 2018 14:11:02 +0100
Fix an uninitialized variable in the estimation of the solid/fluid temp
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/sdis_solve_probe.c b/src/sdis_solve_probe.c
@@ -259,6 +259,7 @@ solid_fluid_boundary_temperature
if(solid == mdm_back) f3_minus(dir, dir);
/* "Reinject" the random walk into the solid */
+ f3_set_d3(pos, rwalk->vtx.P);
range[0] = 0, range[1] = (float)delta_boundary*RAY_RANGE_MAX_SCALE;
S3D(scene_view_trace_ray
(scn->s3d_view, pos, dir, range, &rwalk->hit, &rwalk->hit));