diff --git a/src/main/scala/diplomacy/Parameters.scala b/src/main/scala/diplomacy/Parameters.scala index 1a8bbaa3..a16f70aa 100644 --- a/src/main/scala/diplomacy/Parameters.scala +++ b/src/main/scala/diplomacy/Parameters.scala @@ -92,6 +92,9 @@ case class TransferSizes(min: Int, max: Int) def intersect(x: TransferSizes) = if (x.max < min || max < x.min) TransferSizes.none else TransferSizes(scala.math.max(min, x.min), scala.math.min(max, x.max)) + + override def toString() = "TransferSizes[%d, %d]".format(min, max) + } object TransferSizes {