                 return Int(doubleSamples)
             } else {
                 AKLog("Warning: Samples exceeds the maximum number.")
-                return Int.max
+                return .max
             }
         }
         set {

        self.tempo = tempo
        self.beats = tempo * (seconds / secondsPerMinute)
    }
}

/// Upper bound of a duration, in beats

    return copy
}

