From 854acd580d26eff2c0c7896bb71c54bd523548a8 Mon Sep 17 00:00:00 2001 From: dzaima Date: Fri, 30 Dec 2022 16:16:36 +0200 Subject: [PATCH] =?UTF-8?q?respect=20!PROPER=5FFILLS=20in=20high-rank=20?= =?UTF-8?q?=E2=86=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/builtins/sfns.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/builtins/sfns.c b/src/builtins/sfns.c index b4ffe5e1..858bb547 100644 --- a/src/builtins/sfns.c +++ b/src/builtins/sfns.c @@ -513,7 +513,13 @@ NOINLINE B takedrop_highrank(bool take, B w, B x) { } else { // printf("generic\n"); MAKE_MUT(rm, ria); mut_init(rm, TI(x,elType)); B xf = getFillR(x); - if (anyFill && noFill(xf)) thrM("↑: fill element required for overtaking, but 𝕩 doesn't have one"); + if (anyFill && noFill(xf)) { + #if PROPER_FILLS + thrM("↑: fill element required for overtaking, but 𝕩 doesn't have one"); + #else + xf = m_f64(0); + #endif + } MUTG_INIT(rm); if (IA(x)==0) {