From: Norbert P. on
Hi everyone,

I'm using Mathematica 6.0.2 and the kernel crashes consistently when
evaluating the line:

Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2], {2}]]

It's just a dot product of two matrices. Anyone else getting the same
problem in v.7? Maybe it's time for me to upgrade.

Thanks for the help,
Norbert

From: Bill Rowe on
On 1/23/10 at 7:29 AM, bertapozar(a)gmail.com (Norbert P.) wrote:

>I'm using Mathematica 6.0.2 and the kernel crashes consistently when
>evaluating the line:

>Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2], {2}]]

>It's just a dot product of two matrices. Anyone else getting the
>same problem in v.7? Maybe it's time for me to upgrade.

This works fine just as I would expect in version 7 with no crash


From: Sjoerd C. de Vries on
In[148]:= Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2],
{2}]]

Out[148]= {{1, 2}, {1, 2}}

In[149]:= $Version

Out[149]= "7.0 for Microsoft Windows (32-bit) (February 18, 2009)"

Cheers -- Sjoerd


On Jan 23, 2:29 pm, "Norbert P." <bertapo...(a)gmail.com> wrote:
> Hi everyone,
>
> I'm using Mathematica 6.0.2 and the kernel crashes consistently when
> evaluating the line:
>
> Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2], {2}]]
>
> It's just a dot product of two matrices. Anyone else getting the same
> problem in v.7? Maybe it's time for me to upgrade.
>
> Thanks for the help,
> Norbert


From: Leonid Shifrin on
Hi Norbert,

No crash here (M7.0, WinXP 32):

In[1]:=
Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2], {2}]]


Out[1]= {{1, 2}, {1, 2}}

Regards,
Leonid


On Sat, Jan 23, 2010 at 4:29 AM, Norbert P. <bertapozar(a)gmail.com> wrote:

> Hi everyone,
>
> I'm using Mathematica 6.0.2 and the kernel crashes consistently when
> evaluating the line:
>
> Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2], {2}]]
>
> It's just a dot product of two matrices. Anyone else getting the same
> problem in v.7? Maybe it's time for me to upgrade.
>
> Thanks for the help,
> Norbert
>
>
From: Albert Retey on
Am 23.01.2010 13:29, schrieb Norbert P.:
> Hi everyone,
>
> I'm using Mathematica 6.0.2 and the kernel crashes consistently when
> evaluating the line:
>
> Dot[SparseArray[{i_, i_} -> 1, {2, 2}], Table[Range[2], {2}]]
>
> It's just a dot product of two matrices. Anyone else getting the same
> problem in v.7? Maybe it's time for me to upgrade.

On my Windows XP box it crashes 6.0.2, with 7.0.1 everything seems to be
o.k.

hth,

albert