Fixed an issue with TensorContraction driver routine

Signed-off-by: Dmitry I. Lyakh <quant4me@gmail.com>
1 job for devel in 5 minutes and 57 seconds (queued for 2 seconds)