From 0cd4f829f5856208bde4ede8ce0866ee8b1eaef9 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 23 Jan 2021 21:45:51 -0500 Subject: Remove default fill of 0 and error instead --- docs/bqn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/bqn.js b/docs/bqn.js index a35e3cfc..49293baf 100644 --- a/docs/bqn.js +++ b/docs/bqn.js @@ -184,7 +184,7 @@ let fill = (x,w) => { if (has(w)) { return arr(x.slice(),x.sh,tofill(w)); } else { - let f = x.fill || 0; + let f = x.fill; if (!has(f)) throw Error("Fill does not exist"); return f; } -- cgit v1.2.3