MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica 8.0 Compile[] bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114527] Re: Mathematica 8.0 Compile[] bug
  • From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
  • Date: Tue, 7 Dec 2010 06:43:41 -0500 (EST)

On Mon, 6 Dec 2010, green tea wrote:

> abc1 =
>  Compile[{},
>   Module[{a, b, c},
>    a = 1.0;
>    b = {1.0, 2.0};
>    c = {{1.0, 2.0}, {3.0, 4.0}};
>    a*b*c
>    ]
>   ];
> abc2 =
>  Compile[{},
>   Module[{a, b, c},
>    a = 1.0;
>    b = {1.0, 2.0};
>    c = {{1.0, 2.0}, {3.0, 4.0}};
>    (a*b)*c
>    ]
>   ];
> abc3 =
>  Compile[{},
>   Module[{a, b, c},
>    a = 1.0;
>    b = {1.0, 2.0};
>    c = {{1.0, 2.0}, {3.0, 4.0}};
>    a*(b*c)
>    ]
>   ];
>
>
> In[1]:= $Version
> Out[1]= "8.0 for Microsoft Windows (32-bit) (November 7, 2010)"
>
>
> runtime error with abc1.
> but abc2, abc3 are fine.
>
>

Thanks, I have submitted a bug report.

Oliver


  • Prev by Date: Re: Why are my 3D plots blue?
  • Next by Date: Mathematica on Itanium CPU?
  • Previous by thread: Mathematica 8.0 Compile[] bug
  • Next by thread: Mathematica on Itanium CPU?