In https://github.com/sympy/sympy/pull/2768 contracted arguments in 
``TensMul.__call__`` 
are not allowed. This is the simplest fix to this bug. To allow contracted 
arguments would be more
complicated.

On Saturday, January 11, 2014 6:46:32 PM UTC+1, F. B. wrote:
>
>
>
> On Saturday, January 11, 2014 10:04:03 AM UTC+1, mario wrote:
>>
>>
>> I think this is a bug; the Einstein summation convention is assumed, so 
>> if the substitution
>> indices are (d1, -d1) it should give the contracted tensor.
>>
>
> We already discussed this problem, regarding *substitute_indices( )*: 
>
> https://github.com/sympy/sympy/pull/2467#issuecomment-24883932
>
> Anyways, do you think this bug should be fixed on both *__call__( )* and 
> *.substitute_indices( 
> )* , or just on *__call__( )* ?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to