From 811fe16f9309ea1c4b7dc3405ee75608f1532108 Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 21 Sep 2021 19:12:50 +0300 Subject: [PATCH] =?UTF-8?q?fix=20<=CB=98"abc"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/builtins/md1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/md1.c b/src/builtins/md1.c index 2ff3162d..68319e13 100644 --- a/src/builtins/md1.c +++ b/src/builtins/md1.c @@ -315,7 +315,7 @@ B cell_c1(Md1D* d, B x) { B f = d->f; B r = c1(f, x); return isAtm(r)? m_atomUnit(r) : r; } - if (f.u==bi_lt.u && a(x)->ia!=0) return toCells(x); + if (f.u==bi_lt.u && a(x)->ia!=0 && rnk(x)>1) return toCells(x); usz cr = rnk(x)-1; usz cam = a(x)->sh[0]; usz csz = arr_csz(x);