commit 6664e5d23995ed9893ef028d8b8f3b5c258228ec
parent acf3cfe108389da05cf5002536b965692045ed2e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 24 Apr 2019 09:12:13 +0200
Small clean-up
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/sdis_heat_path_conductive_Xd.h b/src/sdis_heat_path_conductive_Xd.h
@@ -59,15 +59,10 @@ XD(sample_next_step)
ssp_ran_circle_uniform_float(rng, dirs[0], NULL);
/* Compute in dirs[2] a direction orthogonal to dirs[0] */
-#if 0
- dirs[2][0] = dirs[0][0];
- dirs[2][1] = dirs[0][1];
-#else
dirs[2][0] = -dirs[0][1];
dirs[2][1] = dirs[0][0];
ASSERT(f2_is_normalized(dirs[2]));
ASSERT(eq_epsf(f2_dot(dirs[0], dirs[2]), 0, 1.e-6f));
-#endif
/* Negate the orthornormal frame */
f2_minus(dirs[1], dirs[0]);