summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-07-29 17:59:04 +0200
committerThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-07-29 17:59:04 +0200
commit02b5f1c1ce0b8d034895c6b24ac5d63589ff4d9d (patch)
treec3000f6c1a48566868e376c10afe67d91222fcfb
parent9cd983aa414de680166be314b5f9d6c9182f9218 (diff)
Fix regression in expand_term
Terms with only a derivative count as having a derivative as operator
-rw-r--r--series.mac2
1 files changed, 1 insertions, 1 deletions
diff --git a/series.mac b/series.mac
index e4a42c3..581f88c 100644
--- a/series.mac
+++ b/series.mac
@@ -265,7 +265,7 @@ expand_term(expr, coeffs) := (
expansion_order : expansion_order - lopow(d, r),
expand(expand_term(n, coeffs) / d))
else (
- error(printf(false, "expand_term: invalid operator '~a'", op(expr)))));
+ apply1(__expand_term_subst(wrap_exp(expr), coeffs), r_simp_small)));
/* Solve main equations term by term */