Code refactoring

This commit is contained in:
2022-01-14 15:36:39 +01:00
parent 402d54cb62
commit 2163db94d0
4 changed files with 32 additions and 24 deletions

View File

@@ -74,8 +74,8 @@ func _MatchScoreRatio(a, b byte) (float64, float64) {
func _InitNucPartMatch() {
for i, a := range __four_bits_base_code__ {
for j, b := range __four_bits_base_code__ {
for i, a := range _FourBitsBaseCode {
for j, b := range _FourBitsBaseCode {
_NucPartMatch[i][j] = _MatchRatio(a, b)
}
}