From aa5181db676c3506a1189aa4dcbe7d5e7c5be7b3 Mon Sep 17 00:00:00 2001 From: yellow chicks Date: Tue, 6 Jun 2017 21:08:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8AfloatDigits=E6=94=B9=E4=B8=BAintDigits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature_iter_int.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature_iter_int.go b/feature_iter_int.go index 71a4623..19b7d60 100644 --- a/feature_iter_int.go +++ b/feature_iter_int.go @@ -17,7 +17,7 @@ const uint8Max = uint32(0xffff) func init() { intDigits = make([]int8, 256) - for i := 0; i < len(floatDigits); i++ { + for i := 0; i < len(intDigits); i++ { intDigits[i] = invalidCharForNumber } for i := int8('0'); i <= int8('9'); i++ {