isis-group / isis

The ISIS project aims to provide a framework to access a large variety of image processing libraries written in different programming languages and environments.
GNU General Public License v3.0
17 stars 14 forks source link

isis::util::FixedVector::sum method has to be const #69

Closed Rollmops closed 11 years ago

Rollmops commented 11 years ago

As yet the following is not possible:

const isis::util::FixedVector<T,N> vec; T sum = vec.sum();

Btw, changing the method to const would make sense, anyway.