Re: Re: Subscript Bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg90238] Re: [mg90178] Re: Subscript Bug?
- From: DrMajorBob <drmajorbob at att.net>
- Date: Thu, 3 Jul 2008 06:10:33 -0400 (EDT)
- References: <200806290936.FAA29888@smc.vnet.net> <g4a722$931$1@smc.vnet.net>
- Reply-to: drmajorbob at longhorns.com
{$Version, $VersionNumber, $ReleaseNumber}
{"6.0 for Mac OS X x86 (64-bit) (May 21, 2008)", 6., 3}
Subscript[H, 1] = 110; Subscript[H, 2] = 90;
H = Subscript[H, 1] + Subscript[H, 2];
Tanh[Subscript[H, 1]]
Tanh[Subscript[200, 1]]
...as expected.
Bobby
On Tue, 01 Jul 2008 06:01:48 -0500, Jean-Marc Gulliet
<jeanmarc.gulliet at gmail.com> wrote:
> 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[110]
>
> rather than
>
> Tanh[200 ]
> 1
> ?
>
> If nothing else interferes with the evaluation of the above expressions
> and still get Tanh[110] 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[110]
>>>
>>> Is this a feature that I don't understand or a bug?
>>>
>>>
>>
>
>
>
--
DrMajorBob at longhorns.com