From 6cc3e17cdb8fcb0b50dca3e347d97a505fe2f64c Mon Sep 17 00:00:00 2001 From: Gregory Pataky Date: Sun, 4 Aug 2024 22:39:23 -0700 Subject: [PATCH] Remove repeated variable assignment Old code `result = result = <...>` was unnecessary. PiperOrigin-RevId: 659424507 --- xla/tests/exhaustive/exhaustive_op_test_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xla/tests/exhaustive/exhaustive_op_test_utils.cc b/xla/tests/exhaustive/exhaustive_op_test_utils.cc index 5914a79527476..f677539c677c9 100644 --- a/xla/tests/exhaustive/exhaustive_op_test_utils.cc +++ b/xla/tests/exhaustive/exhaustive_op_test_utils.cc @@ -614,7 +614,7 @@ void ExhaustiveOpTestBase::ExpectNear( result = pure_subnormal_cache[cache_loc]; } } else { - result = result = CallOperation(evaluate_op, test_value); + result = CallOperation(evaluate_op, test_value); } if (IsClose(result, static_cast(actual), error_spec)) {