commit 75a780368bda461c1b80fd8a8b8ee5e4cbdd1977
parent 48735c862b79e2bdbb0bed222669593a4ba27ed5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 5 Dec 2023 14:54:02 +0100
Minor coding style fixes
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/sdis_solve_camera.c b/src/sdis_solve_camera.c
@@ -603,7 +603,7 @@ sdis_solve_camera
/* Here we go! Launch the Monte Carlo estimation */
omp_set_num_threads((int)scn->dev->nthreads);
- register_paths = is_master_process
+ register_paths = is_master_process
? args->register_paths : SDIS_HEAT_PATH_NONE;
#pragma omp parallel for schedule(static, 1/*chunk size*/)
for(mcode = mcode_1st; mcode < (int64_t)ntiles_adjusted; mcode+=mcode_incr) {
@@ -621,7 +621,7 @@ sdis_solve_camera
tile_org[0] = morton2D_decode_u16((uint32_t)(mcode>>0));
if(tile_org[0] >= ntiles_x) continue; /* Discard tile */
tile_org[1] = morton2D_decode_u16((uint32_t)(mcode>>1));
- if(tile_org[1] >= ntiles_y) continue; /* Disaard tile */
+ if(tile_org[1] >= ntiles_y) continue; /* Discard tile */
res_local = tile_create(scn->dev->allocator, &tile);
if(tile == NULL) {
diff --git a/src/test_sdis_scene.c b/src/test_sdis_scene.c
@@ -19,8 +19,8 @@
#include <rsys/double2.h>
#include <rsys/double3.h>
#include <rsys/math.h>
-#include<star/senc2d.h>
-#include<star/senc3d.h>
+#include <star/senc2d.h>
+#include <star/senc3d.h>
struct context {
const double* positions;