summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-10 06:39:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-10 06:39:48 -0700
commit5283821601b6825fa04995580c463c775b221d79 (patch)
tree45d2143b1a0289c4c3790ef7dea93b8ad4eb3b42
parent07d3266440d15c67f450c6f0a26e85a1541f4395 (diff)
downloadtxr-5283821601b6825fa04995580c463c775b221d79.tar.gz
txr-5283821601b6825fa04995580c463c775b221d79.tar.bz2
txr-5283821601b6825fa04995580c463c775b221d79.zip
math: poly/rpoly diagnostic mixup.
* arith.c (poly, rpoly): fix: the poly function wrongly refers to itself as rpoly and vice versa in diagnostics.
-rw-r--r--arith.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arith.c b/arith.c
index 1d00e8aa..44e466df 100644
--- a/arith.c
+++ b/arith.c
@@ -3949,7 +3949,7 @@ val digits(val n, val base)
val poly(val x, val seq)
{
- val self = lit("rpoly");
+ val self = lit("poly");
val acc = zero;
seq_info_t si = seq_info(seq);
@@ -3988,7 +3988,7 @@ val poly(val x, val seq)
val rpoly(val x, val seq)
{
- val self = lit("poly");
+ val self = lit("rpoly");
val acc = zero;
val pow = x;
seq_info_t si = seq_info(seq);