28 Jan
2004
28 Jan
'04
1:13 p.m.
Hi, I found that the code ex e=indexed(a+b*(c+d),idx(i,3)); e=e.expand(expand_options::expand_indexed); cout << e << endl; cout << e.expand(expand_options::expand_indexed) << endl; gives the output a.i+(d*b+c*b).i (c*b).i+a.i+(d*b).i I would have expected to see the second result twice instead. A patch is attached. Bye, Chris
28 Jan
28 Jan
5:37 p.m.
Hi! On Wed, Jan 28, 2004 at 12:13:07PM +0000, Chris Dams wrote:
A patch is attached.
Yup. Thanks! :) Bye, Christian -- / Physics is an algorithm \/ http://www.uni-mainz.de/~bauec002/
7823
Age (days ago)
7823
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Dams
-
Christian Bauer