diff options
-rw-r--r-- | functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |