From 800205db7400624568be2711986bda7a66fdfde1 Mon Sep 17 00:00:00 2001 From: Mushthak Ibrahim Date: Fri, 18 Sep 2020 23:53:22 +0530 Subject: [PATCH] Fix expression to remove type-check compiler error --- CountdownLabel/LTMorphingLabel/LTEasing.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CountdownLabel/LTMorphingLabel/LTEasing.swift b/CountdownLabel/LTMorphingLabel/LTEasing.swift index 090d37d..d265652 100644 --- a/CountdownLabel/LTMorphingLabel/LTEasing.swift +++ b/CountdownLabel/LTMorphingLabel/LTEasing.swift @@ -24,7 +24,7 @@ public struct LTEasing { public static func easeInQuint(_ t: Float, _ b: Float, _ c: Float, _ d: Float = 1.0) -> Float { return { - return c * $0 * $0 * $0 * $0 * $0 + b + return c * ($0 * $0 * $0 * $0 * $0) + b }(t / d) }