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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0f63fa7 commit 2acbf5a
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
@@ -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

0 comments on commit 2acbf5a

Please sign in to comment.