fix game of life support in evaluator

This commit is contained in:
Alex Zenla
2024-12-01 04:13:24 -05:00
parent 4ec5624be4
commit 6e225aab88
6 changed files with 25 additions and 4 deletions

View File

@ -34,7 +34,7 @@ class InternalNativeProvider(val quiet: Boolean = false) : NativeProvider {
@Suppress("UNCHECKED_CAST")
val list = arguments[0] as MutableList<Any>
val value = arguments[2]
list[(arguments.at<Number>(0)).toInt()] = value
list[(arguments.at<Number>(1)).toInt()] = value
return value
}