打印影响延迟优化

This commit is contained in:
hoteas
2022-05-13 09:30:09 +08:00
parent ce95cdc021
commit 2ecc70288e
7 changed files with 23 additions and 14 deletions
+1 -1
View File
@@ -893,7 +893,7 @@ var DeclareCtr = Ctr{
RecommendDeclare = declare
}
matchingDegreePercent := ObjToFloat64(matchingDegree) / ObjToFloat64(matchingDegreeCount)
matchingDegreePercent := ObjToFloat64(ObjToFloat64(matchingDegree) / ObjToFloat64(matchingDegreeCount))
if matchingDegreePercent < 0.5 {
matchingDegreePercent = 0.5 + matchingDegreePercent