From 72a51678135c03d7a765ce446038ba860d4996a4 Mon Sep 17 00:00:00 2001 From: "Jesus Galan Lopez (yy)" Date: Sat, 4 Sep 2021 19:25:27 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=A2rand=20(simpler)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/builtins/sysfn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/builtins/sysfn.c b/src/builtins/sysfn.c index 575eb424..42810198 100644 --- a/src/builtins/sysfn.c +++ b/src/builtins/sysfn.c @@ -422,10 +422,8 @@ B makeRand_c1(B t, B x) { static B randNS; B getRandNS() { if (randNS.u == 0) { - B fn = bqn_exec(m_str32(U"•MakeRand"), emptyCVec(), emptySVec()); - randNS = c1(fn,m_f64(RANDSEED)); + randNS = c1(bi_makeRand,m_f64(RANDSEED)); gc_add(randNS); - dec(fn); } return inc(randNS); }