summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'print.c')
-rw-r--r--print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/print.c b/print.c
index ae29a01..15e5f2a 100644
--- a/print.c
+++ b/print.c
@@ -93,6 +93,8 @@ pparray(Array *a)
*p-- = 0; /* remove trailing 0's */
}
}
+ if(elemstrs[i][0] == '-' && (a->type == AtypeInt || a->type == AtypeFloat))
+ elemstrs[i][0] = L'¯';
}
int lastdim = a->rank ? a->shape[a->rank-1] : 1;