Re: nonspurious bug report (probably PackedArray related)

*To*: mathgroup at smc.vnet.net*Subject*: [mg64238] Re: nonspurious bug report (probably PackedArray related)*From*: Bill Rowe <readnewsciv at earthlink.net>*Date*: Tue, 7 Feb 2006 03:36:16 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

On 2/6/06 at 2:49 AM, dreeves at umich.edu (Daniel Reeves) wrote: >Try the following with n < 100 and then with n >= 100. You'll see >something goes drastically awry! >Map[ReplacePart[{{1, 1}}, {#}, 1] &, Range[n]] >The problem exists in (at least) version 5.2, both Windows and >Linux. There is also a problem with version 5.2 on Mac OS 10.4.4, i.e., In[34]:= n = 99; ({{#1}}&/@ Range[n]) == (ReplacePart[{{1, 1}}, {#1}, 1]&/@Range[n]) Out[35]= True In[36]:= n = 100; ({{#1}}&/@ Range[n]) == (ReplacePart[{{1, 1}}, {#1}, 1]&/@Range[n]) Out[37]= False -- To reply via email subtract one hundred and four