Re: Subscript Bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg90178] Re: Subscript Bug?
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Tue, 1 Jul 2008 07:01:48 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <200806290936.FAA29888@smc.vnet.net> <email@example.com>
bsyehuda at gmail.com wrote: > I couldn't repeat this. I use version 6.0.2 over linux (64 bits version) > the output is as expected > yehuda Yehuda, Could you confirm that, starting from a brand new Mathematica session (that is fresh kernel, no additional packages, and no Dynamics and the like loaded), the first time you evaluate Subscript[H, 1] = 110; Subscript[H, 2] = 90; H = Subscript[H, 1] + Subscript[H, 2]; Tanh[Subscript[H, 1]] you get Tanh rather than Tanh[200 ] 1 ? If nothing else interferes with the evaluation of the above expressions and still get Tanh as the result of the first time evaluation, that would implies that the main loop on Linux behaves differently (and in an unexpected way) than on the other platforms, i.e. the evaluation process is buggy! Regards, -- Jean-Marc > On Sun, Jun 29, 2008 at 12:36 PM, Aaron Fude <aaronfude at gmail.com> wrote: > >> Hi, >> >> I have this code in a cell: >> >> Subscript[H, 1] = 110; Subscript[H, 2] = 90; >> H = Subscript[H, 1] + Subscript[H, 2]; >> Tanh[Subscript[H, 1]] >> >> The first time I execute the cell, I get >> >> Tanh[Subscript[200, 1]] >> >> which of course is nonsense. >> >> A second execution, yields the correct answer: >> >> Tanh >> >> Is this a feature that I don't understand or a bug? >> >> >