From 6073bdb679a04350af1c68c2640b153fc9de55f9 Mon Sep 17 00:00:00 2001 From: Manohar Paluri Date: Mon, 1 Mar 2010 18:05:24 +0000 Subject: [PATCH] made the function const --- cpp/Tensor3Expression.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/Tensor3Expression.h b/cpp/Tensor3Expression.h index 306147376..3fbe0c516 100644 --- a/cpp/Tensor3Expression.h +++ b/cpp/Tensor3Expression.h @@ -86,7 +86,7 @@ namespace tensors { /** Contracting with rank1 tensor */ template inline Tensor2Expression , J, K> operator*( - const Tensor1Expression &b) { + const Tensor1Expression &b) const { return TimesRank1_ (*this, b); }