From fcc3ec2a84fb81b40618b2d6aa2f24a1b28eed37 Mon Sep 17 00:00:00 2001 From: Kevin H Wilson Date: Sun, 8 Dec 2024 18:18:55 +0000 Subject: [PATCH] typo in comparison --- cpp/src/arrow/compute/kernels/scalar_arithmetic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc b/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc index 8cd93e8e95251..923b3959a0718 100644 --- a/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc +++ b/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc @@ -346,7 +346,7 @@ struct AtanhChecked { template static enable_if_floating_value Call(KernelContext*, Arg0 val, Status* st) { static_assert(std::is_same::value, ""); - if (ARROW_PREDICT_FALSE((val <= -1.0 || val => 1.0))) { + if (ARROW_PREDICT_FALSE((val <= -1.0 || val >= 1.0))) { // N.B. This predicate does *not* match the predicate in Atanh. In GH-44630 it was // decided that the checked version should error when asked for +/- 1 as an input // and the unchecked version should return +/- oo