diff --git a/duckpgq/src/duckpgq/functions/scalar/cheapest_path_length.cpp b/duckpgq/src/duckpgq/functions/scalar/cheapest_path_length.cpp index b751de2c..8c8ba0b3 100644 --- a/duckpgq/src/duckpgq/functions/scalar/cheapest_path_length.cpp +++ b/duckpgq/src/duckpgq/functions/scalar/cheapest_path_length.cpp @@ -51,7 +51,7 @@ bool UpdateLanes(vector> &dists, T v, T n, T weight) { template int16_t TemplatedBatchBellmanFord(CSR *csr, DataChunk &args, int64_t input_size, - UnifiedVectorFormat vdata_src, int64_t *src_data, + UnifiedVectorFormat &vdata_src, int64_t *src_data, const UnifiedVectorFormat &vdata_target, int64_t *target_data, std::vector weight_array, int16_t result_size, T *result_data, @@ -94,7 +94,7 @@ TemplatedBatchBellmanFord(CSR *csr, DataChunk &args, int64_t input_size, template void TemplatedBellmanFord(CSR *csr, DataChunk &args, int64_t input_size, - Vector &result, UnifiedVectorFormat vdata_src, + Vector &result, UnifiedVectorFormat &vdata_src, int64_t *src_data, const UnifiedVectorFormat &vdata_target, int64_t *target_data, std::vector weight_array) {