hermespy-rt

Minimalistic signal processing ray-tracer in C
git clone https://git.ea.contact/hermespy-rt
Log | Files | Refs

commit f9e85f4abad97282d8e8fe10fa65afdf0c14e47d
parent ed0d787966e5c7149c56423baaf019642d3d7d9e
Author: Egor Achkasov <eaachkasov@edu.hse.ru>
Date:   Wed,  4 Dec 2024 15:36:21 +0100

Minor fix

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

diff --git a/compute_paths.c b/compute_paths.c @@ -300,7 +300,7 @@ void compute_paths( /* shape (num_bounces, num_tx, num_paths) */ Vec3 *hits = (Vec3*)malloc(num_bounces * num_tx * num_paths * sizeof(Vec3)); int32_t *hit_indices = (int32_t*)malloc(num_bounces * num_tx * num_paths * sizeof(int32_t)); - tau = memset(tau, 0, num_paths * sizeof(float)); + tau = (float*)memset(tau, 0, num_paths * sizeof(float)); float t; int32_t ind; Ray *r;