Skip to content

Commit

Permalink
typo in comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilson committed Dec 8, 2024
1 parent ad4ee17 commit fcc3ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/kernels/scalar_arithmetic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ struct AtanhChecked {
template <typename T, typename Arg0>
static enable_if_floating_value<Arg0, T> Call(KernelContext*, Arg0 val, Status* st) {
static_assert(std::is_same<T, Arg0>::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
Expand Down

0 comments on commit fcc3ec2

Please sign in to comment.