summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-07-20 16:14:06 +0200
committerThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-07-20 16:14:06 +0200
commit87da6cf667a507504d857fc03789ec0aa58f2a53 (patch)
tree60db672e064a5854da694f4f04f0c694ce543ecf
parent3f31637dbc349493cd74a389d49413903f146bd1 (diff)
Fix error on atomic factor
-rw-r--r--series.mac2
1 files changed, 1 insertions, 1 deletions
diff --git a/series.mac b/series.mac
index 5617a1e..fd143f4 100644
--- a/series.mac
+++ b/series.mac
@@ -96,7 +96,7 @@ __fill_term_table(table, factors, t_min, t_max, len) := block(
/* Initialize table row with 0s */
for j : 0 thru len-1 do table[i, j] : 0,
/**/
- if is(op(factors[i+1])="+") then (
+ if not atom(factors[i+1]) and op(factors[i+1])="+" then (
for term in args(factors[i+1]) do block(
[j, n],
n : lopow(term, r),