diff --git a/Fastor/tensor/TensorFunctions.h b/Fastor/tensor/TensorFunctions.h index da75710..235d562 100644 --- a/Fastor/tensor/TensorFunctions.h +++ b/Fastor/tensor/TensorFunctions.h @@ -124,8 +124,10 @@ FASTOR_INLINE Tensor torowmajor(const TensorType &a) { } } -/* Squeeze - removes dimenions of 1 from a tensor and returns a map - Note that you cannot use tensor expressions on squeeze as squeeze is +/* squeeze - removes dimenions of 1 from a tensor and returns a TensorMap + A TensorMap is a view in to an existing tensor so modifying the squeezed + tensor will modify the original tensor and vice versa + Note that you cannot call this function on tensor expressions as this is a view in to a concrete tensor type holding storage */ template