From a3ca3c41f77ac654a16243bf25b4a54ec5a4df92 Mon Sep 17 00:00:00 2001 From: abhisek <@Versi0nC0ntr0l> Date: Fri, 4 Jun 2021 10:01:21 +0200 Subject: [PATCH] Remove unused variable causing warnings --- torchsparse/src/hashmap/hashmap_cpu.cpp | 2 +- torchsparse/src/hashmap/hashmap_cpu_header.hpp | 2 +- torchsparse/src/interpolation/devox_cpu.cpp | 2 +- torchsparse/src/interpolation/devox_deterministic.cpp | 2 +- torchsparse/src/others/insertion_cpu.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/torchsparse/src/hashmap/hashmap_cpu.cpp b/torchsparse/src/hashmap/hashmap_cpu.cpp index 30fec3e..5e6dff2 100644 --- a/torchsparse/src/hashmap/hashmap_cpu.cpp +++ b/torchsparse/src/hashmap/hashmap_cpu.cpp @@ -26,7 +26,7 @@ HashTableCPU::lookup_vals(const int64_t * const keys, int64_t * const results, c -int +void HashTableCPU::insert_vals(const int64_t * const keys, const int64_t * const vals, const int n) { for(int i = 0; i < 10; i++){ printf("%d, %d, %d, %d\n", i, i