2 Commits b1f5a4427b ... b890935181

Autore SHA1 Messaggio Data
  engineerper b890935181 commmit 1 anno fa
  engineerper ead7bff64e commmit 1 anno fa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      eventServer/capacity.go

+ 1 - 1
eventServer/capacity.go

@@ -58,5 +58,5 @@ func CalculateMatchScore(constant, variable Constant) float64 {
 	//widthScore := math.Abs(float64(constant.Width - variable.Width))
 	//heightScore := math.Abs(float64(constant.Height - variable.Height))
 
-	return math.Abs(variable.Calc() - constant.Calc())
+	return math.Abs(constant.Calc() - variable.Calc())
 }