2 Achegas b1f5a4427b ... b890935181

Autor SHA1 Mensaxe Data
  engineerper b890935181 commmit hai 1 ano
  engineerper ead7bff64e commmit hai 1 ano
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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())
 }