Fixed an issue with TensorContraction driver routine

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