Data type error while using tensorize

I see, the bug is fixed, thanks!