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.