Re: Bug in Mathematica 8 vs Mathematica 7: SeriesData
- To: mathgroup at smc.vnet.net
- Subject: [mg116832] Re: Bug in Mathematica 8 vs Mathematica 7: SeriesData
- From: Lou <lvveen32 at xs4all.nl>
- Date: Wed, 2 Mar 2011 04:32:08 -0500 (EST)
- References: <ikihg0$7qt$1@smc.vnet.net>
On 1 mrt, 11:24, GidiL <gidiena... at gmail.com> wrote: > Dear All! > > A long time ago I asked about the right way of using SeriesData for > multiple expansions. > > For example, if you want a multiple expansion of a metric in general > relativity, it is quite simple to input: > SeriesData[r, Infinity, {-1, -2, -3}, 0, 3, 1] > In Mathematica 7 this line is accepted as is, without any error > messages or problems. > > Yet, try this in Mathematica 8. You will get the following error > message: > SeriesData::sdatv: "First argument 1/r is not a valid variable." > > Does anyone know what has changed in version 8? Why should such a > simple expression be invalid in version 8 but be OK in version 7? I > find it quite strange. > > Would appreciate any help! > > Cheerio, > > Gideon I'm Getting in mm8: In[1]:= SeriesData[r, Infinity, {-1, -2, -3}, 0, 3, 1] -1-2/r-3/r^2+O[1/r]^3 so no problem! Are you sure you're not using your variable r somewhere else? Kind regards, Lou