Improvements to the warnings given by generic_fns.align_tensor.get_tensor_index().
Authored by: bugman 2012-12-11
Parent: [r18106]
Child: [r18108]