From 01f9370d6e7755cacf08e42dcaf0ca4a20d5f537 Mon Sep 17 00:00:00 2001 From: bharatnc Date: Mon, 10 Jan 2022 22:41:41 -0800 Subject: [PATCH] fix variable name in h3 misc funcs --- src/Functions/h3CellAreaM2.cpp | 4 ++-- src/Functions/h3CellAreaRads2.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Functions/h3CellAreaM2.cpp b/src/Functions/h3CellAreaM2.cpp index 251830503e2..878bf9f43b3 100644 --- a/src/Functions/h3CellAreaM2.cpp +++ b/src/Functions/h3CellAreaM2.cpp @@ -60,8 +60,8 @@ public: for (size_t row = 0; row < input_rows_count; ++row) { - const UInt64 resolution = data[row]; - Float64 res = cellAreaM2(resolution); + const UInt64 index = data[row]; + Float64 res = cellAreaM2(index); dst_data[row] = res; } diff --git a/src/Functions/h3CellAreaRads2.cpp b/src/Functions/h3CellAreaRads2.cpp index e6883189104..1755d218fc5 100644 --- a/src/Functions/h3CellAreaRads2.cpp +++ b/src/Functions/h3CellAreaRads2.cpp @@ -60,8 +60,8 @@ public: for (size_t row = 0; row < input_rows_count; ++row) { - const UInt64 resolution = data[row]; - Float64 res = cellAreaRads2(resolution); + const UInt64 index = data[row]; + Float64 res = cellAreaRads2(index); dst_data[row] = res; }