Skip to content

Commit 8440c18

Browse files
committed
Update AnimatableArray.swift
1 parent 1df7cff commit 8440c18

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Sources/Anima/AnimatableProperty/AnimatableArray.swift

+6-7
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,10 @@ extension AnimatableArray: VectorArithmetic & AdditiveArithmetic {
213213
}
214214

215215
extension AnimatableArray: ApproximateEquatable where Element: FloatingPointInitializable {
216-
public func isApproximatelyEqual(to other: Self, epsilon: Element) -> Bool {
217-
for index in 0..<count {
218-
guard let other = other[safe: index], self[index].isApproximatelyEqual(to: other, epsilon: epsilon) else { return false }
219-
}
220-
return true
221-
}
216+
public func isApproximatelyEqual(to other: Self, epsilon: Element) -> Bool {
217+
for index in 0..<count {
218+
guard let other = other[safe: index], self[index].isApproximatelyEqual(to: other, epsilon: epsilon) else { return false }
219+
}
220+
return true
221+
}
222222
}
223-

0 commit comments

Comments
 (0)