Skip to content

#568 LocalCoefficientsInterface.size() should use size_t

Metadata

Property Value
Reported by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Reported at Jun 22, 2009 14:36
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Jö Fahlke (jorrit@jorrit.de)
Last edited at Aug 20, 2009 12:40
Closed by Jö Fahlke (jorrit@jorrit.de)
Closed at Aug 20, 2009 12:40
Closed in version Unknown
Resolution Fixed
Comment Fixed in revision 190

Description

The return value of the size() method of LocalCoefficientsInterface is int, but hte size can never be negative. Thus the return value should be size_t, or a "typedef size_type".