commit e13f88ba34de4921490bb55a9f0911bcb4f269d9
parent 41f06a76cba7018c7aae32c934a3945f60b5e3cd
Author: Egor Achkasov <eaachkasov@edu.hse.ru>
Date: Wed, 4 Dec 2024 11:57:47 +0100
Fix test.c types
Diffstat:
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/test.c b/test.c
@@ -9,14 +9,15 @@ int main(int argc, char **argv)
return 1;
}
- float rx_positions[3] = {0.0, 0.0, 0.0};
- float tx_positions[3] = {0.0, 0.0, 0.0};
+ float rx_positions[3] = {0.0, 0.0, 2.5};
+ float tx_positions[3] = {0.0, 0.0, 2.5};
float rx_velocities[3] = {0.0, 0.0, 0.0};
float tx_velocities[3] = {0.0, 0.0, 0.0};
float carrier_frequency = 2.4e9; /* 2.4 GHz */
- int num_paths = 10000;
+ size_t num_paths = 10000;
+ size_t num_bounces = 3;
float *a = NULL;
- int32_t *tau = NULL;
+ float *tau = NULL;
compute_paths(
argv[1],
rx_positions,
@@ -24,6 +25,6 @@ int main(int argc, char **argv)
rx_velocities,
tx_velocities,
carrier_frequency,
- 1, 1, num_paths, 3,
+ 1, 1, num_paths, num_bounces,
a, tau);
}