From 0885ea08a10f37c73dbba0b734d8d6bef120a0b7 Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 1 Oct 2025 13:44:24 +0200 Subject: [PATCH] fix maybe unitialized error --- cpp/src/linear_programming/utils.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/linear_programming/utils.cuh b/cpp/src/linear_programming/utils.cuh index ca77146f6..2b2211b27 100644 --- a/cpp/src/linear_programming/utils.cuh +++ b/cpp/src/linear_programming/utils.cuh @@ -202,7 +202,7 @@ void inline compute_sum_bounds(const rmm::device_uvector& constraint_lower_ rmm::cuda_stream_view stream_view) { rmm::device_buffer d_temp_storage; - size_t bytes; + size_t bytes = 0; auto main_op = [] HD(const thrust::tuple t) { const f_t lower = thrust::get<0>(t); const f_t upper = thrust::get<1>(t);