Revert "Simple workaround for problem described in KT-6437"

This reverts commit 34d408eb7b.
This commit is contained in:
Alexey Tsvetkov
2015-04-23 19:24:37 +03:00
parent 764c506aaa
commit 012bc8f1db
@@ -16,10 +16,7 @@ class Field(
// if init(i, j) is true, the cell (i, j) is alive
init: (Int, Int) -> Boolean
) {
private val live: Array<Array<Boolean>>
init {
live = Array(height) { i -> Array(width) { j -> init(i, j) } }
}
private val live: Array<Array<Boolean>> = Array(height) { i -> Array(width) { j -> init(i, j) } }
private fun liveCount(i: Int, j: Int)
= if (i in 0..height - 1 &&