summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-08-03 15:42:18 +0200
committerThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-08-03 15:42:18 +0200
commit08db2e08fd57e1a281f72907b5a98a46f8ef27d3 (patch)
treec06f191e5f72704435102c5f093249e129b61040
parent50e987414ad6b4978e37ef9915fe259f5aeef2e5 (diff)
Use list decomposition in mul_series
-rw-r--r--series.mac5
1 files changed, 1 insertions, 4 deletions
diff --git a/series.mac b/series.mac
index f757e4c..9dd233c 100644
--- a/series.mac
+++ b/series.mac
@@ -144,10 +144,7 @@ mul_series(factors, max_order) := block(
stack : make_array(any, nfactors),
/* Compute table size */
- block([pair],
- pair : __table_size(factors),
- t_min : pair[1],
- t_max : pair[2]),
+ [t_min, t_max] : __table_size(factors),
len : abs(t_max - t_min) + 1,
/* Allocate table for terms */