diff options
author | Mau Magnaguagno <[email protected]> | 2023-01-25 19:51:01 -0300 |
---|---|---|
committer | git <[email protected]> | 2024-03-16 09:51:09 +0000 |
commit | affbc79a10f21eecb4291a9a5906e2b9ef6771f6 (patch) | |
tree | 1b0dff11ff123ac6faacdb19cbe040c94dacdcdc /test/ruby/test_dir_m17n.rb | |
parent | def7023ee4a3fc6eeba9d3a34c31a5bcff315fac (diff) |
[ruby/did_you_mean] Remove Integer floor and prefix index from Jaro distance
The variable ``length2`` is an Integer, call to floor returns self.
The variables ``i`` and ``prefix_bonus`` are equally incremented, no need to keep the ``i`` variable.
https://github.com/ruby/did_you_mean/commit/4408802289
Diffstat (limited to 'test/ruby/test_dir_m17n.rb')
0 files changed, 0 insertions, 0 deletions