From 56ddfd33a5564afefdf264c91f2eca2ac3c37e08 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Thu, 20 Jan 2022 22:53:59 +0000 Subject: Add missing else keyword --- functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.c') diff --git a/functions.c b/functions.c index 7d8b46c..c82a9cb 100644 --- a/functions.c +++ b/functions.c @@ -699,7 +699,7 @@ fnTake(Array *left, Array *right) Array *leftshape = fnShape(left); right = fnReshape(leftshape, right); freearray(leftshape); - } + }else right = fnSame(right); int *shape = malloc(sizeof(int) * left->size); -- cgit v1.2.3