fix ntax issue

This commit is contained in:
kuoi 2022-01-05 08:36:26 +00:00
parent 19f39b35b4
commit 1ee11d7cb1

View file

@ -64,14 +64,14 @@ func main() {
ntax := 0 ntax := 0
nchar := sum_charset[len(sum_charset)-1].To nchar := sum_charset[len(sum_charset)-1].To
sum_dna := make(map[string][]string) sum_dna := make(map[string][]string)
for k, v := range sum_nex { for _, v := range sum_nex {
for k1 := range v.min_dna { for k1 := range v.min_dna {
_, has := sum_dna[k1] _, has := sum_dna[k1]
if !has { if !has {
sum_dna[k1] = make([]string, len(sum_charset)) sum_dna[k1] = make([]string, len(sum_charset))
ntax ++
} }
} }
ntax = k
} }
for k, v := range sum_nex { for k, v := range sum_nex {
for _, v1 := range v.min_dna { for _, v1 := range v.min_dna {