Mathematica 8.0 Compile[] bug
- To: mathgroup at smc.vnet.net
- Subject: [mg114521] Mathematica 8.0 Compile[] bug
- From: green tea <cetech07 at gmail.com>
- Date: Mon, 6 Dec 2010 06:14:32 -0500 (EST)
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.