Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The problem is independent of ")set stream calc 1". It just happened to be hidden. Before this commit the code below resulted in the values 0, 5, 3 for the last 3 commands. ZZ ==> Integer SULS ==> SparseUnivariateLaurentSeries(ZZ, 'q, 0) Rec ==> Record(k: ZZ, c: ZZ) S ==> Stream Rec st := cons([0,3]$Rec, cons([1,5]$Rec, cons([2,7]$Rec,empty()$S)))$S s := series(st)$SULS; i x ==> x pretend InnerSparseUnivariatePowerSeries ZZ explicitEntries?(getStream i s) getRef i s coefficient(s,0) coefficient(s,1) coefficient(s,0)
- Loading branch information