Fixed typo in assertion from Tensor::dimension().