1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-08-15 16:10:39 +03:00

Fix typecheck

This commit is contained in:
Artyom 2020-06-26 15:01:19 +03:00
parent cfb97d6f73
commit 6c8849b044

View File

@ -57,7 +57,7 @@ open class ColorMatrix {
let m3 = [-0.213, -0.715, 0.928,
0.143, 0.140, -0.283,
-0.787, 0.715, 0.072]
let a = { i in
let a = { (i: Int) -> Double in
m1[i] + c * m2[i] + s * m3[i]
}
self.init(values: [a(0), a(1), a(2), 0, 0,