Skip to content
Permalink
Browse files

Some optimzation code

  • Loading branch information...
JeanJacquesSerpoul committed Oct 30, 2019
1 parent dcbc1f1 commit d891660abfd938e72848f73b87083ceb19458849
Showing with 1 addition and 1 deletion.
  1. +1 −1 distribution/generate.go
@@ -1168,7 +1168,7 @@ func maskCheck(mask string) error {
err = fmt.Errorf(ErrMsg["4_hands"])
return err
}
for i := 0; i < HC; i++ {
for i := range s {
tab = strings.Split(s[i], POINT)
if len(tab) != HC {
err = fmt.Errorf(Position[i] + ErrMsg["4_suits"])

0 comments on commit d891660

Please sign in to comment.
You can’t perform that action at this time.