summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.c b/functions.c
index 0e302de..6c9f837 100644
--- a/functions.c
+++ b/functions.c
@@ -747,7 +747,7 @@ fnSelfReference1(Array *right)
Array *name(Array *left, Array *right){\
Array *leftarr, *rightarr;\
if(!commontype(left, right, &leftarr, &rightarr, forcefloat)) throwerror(nil, EType);\
- if(!scalarextend(leftarr, rightarr, &left, &right)) throwerror(nil, ERank);\
+ if(!scalarextend(leftarr, rightarr, &left, &right)) throwerror(L"scalar extension fail", ERank);\
Array *res;\
if(left->type != AtypeArray && restype != left->type)\
res = duparrayshape(left, restype);\