Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mathematica 8.0 Compile[] bug

1 view
Skip to first unread message

green tea

unread,
Dec 6, 2010, 6:14:34 AM12/6/10
to
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.

Oliver Ruebenkoenig

unread,
Dec 7, 2010, 6:43:35 AM12/7/10
to

Thanks, I have submitted a bug report.

Oliver

0 new messages