aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/csx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csx.c b/src/csx.c
index f114114..7836793 100644
--- a/src/csx.c
+++ b/src/csx.c
@@ -318,7 +318,7 @@ static void *base_prod(void *arg)
static void *base_neg(void *arg)
{
arg = run_each(arg);
- return csx_int(-*(int *)head(head(arg)));
+ return csx_int(-*(int *)head(arg));
}
static void *base_inv(void *arg)