Preprocessing

This commit is contained in:
Tibo De Peuter 2025-04-27 22:02:50 +02:00
parent 82a8fccf87
commit 174855d7a3
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
5 changed files with 284 additions and 7 deletions

View file

@ -152,8 +152,8 @@ class Between(private val expr1: Expression, private val expr2: Expression, priv
require(e1.to is Integer && e2.to is Integer) { "Arguments must be integers" }
val v1 = e1.to as Integer
val v2 = e2.to as Integer
val v1 = e1.to
val v2 = e2.to
return if (variable(e3.to, subs)) {
between(v1, v2, e3.to as Variable).map { answer ->