Skip to content

Commit

Permalink
Remove repeated variable assignment
Browse files Browse the repository at this point in the history
Old code `result = result = <...>` was unnecessary.

PiperOrigin-RevId: 659424507
  • Loading branch information
Gregory Pataky authored and copybara-github committed Aug 5, 2024
1 parent f59471f commit 6cc3e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xla/tests/exhaustive/exhaustive_op_test_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ void ExhaustiveOpTestBase<T, N>::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<NativeRefT>(actual), error_spec)) {
Expand Down

0 comments on commit 6cc3e17

Please sign in to comment.