made the function const

release/4.3a0
Manohar Paluri 2010-03-01 18:05:24 +00:00
parent a46dc4cea0
commit 6073bdb679
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ namespace tensors {
/** Contracting with rank1 tensor */ /** Contracting with rank1 tensor */
template<class B> template<class B>
inline Tensor2Expression<TimesRank1_<B> , J, K> operator*( inline Tensor2Expression<TimesRank1_<B> , J, K> operator*(
const Tensor1Expression<B, I> &b) { const Tensor1Expression<B, I> &b) const {
return TimesRank1_<B> (*this, b); return TimesRank1_<B> (*this, b);
} }