From: Erik Max Francis on
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.

Works here in 7.0.1 for Linux:

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

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

--
Erik Max Francis && max(a)alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
Eternity is very long, especially near the end.
-- Woody Allen

From: Bob Hanlon on

No problem here

$Version

7.0 for Mac OS X x86 (64-bit) (February 19, 2009)

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

{{1, 2}, {1, 2}}

Dot[IdentityMatrix[2], Table[Range[2], {2}]]

{{1, 2}, {1, 2}}


Bob Hanlon

---- "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: Norbert P. on
Thank you all for the replies. So it looks like the problem appears
only in v. 6. The kernel crashes only when dotting a sparse array with
a list of packed arrays (at least on my machine).

Anyway, this already added to a couple of other bugs I discovered in
v. 6, so I upgraded to v. 7.

Best,
Norbert

On Jan 23, 4:29 am, "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: Nasser M. Abbasi on

"Norbert P." <bertapozar(a)gmail.com> wrote in message
news:hjeq3o$fk8$1(a)smc.vnet.net...
> 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
>



NO crash on M7 on XP:

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

--Nasser