mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-19 14:52:17 +00:00
FIX sparse non_zeros is capacity, consistent with coordinate and compressed
[SVN r25806]
This commit is contained in:
@@ -284,7 +284,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
}
|
||||
BOOST_UBLAS_INLINE
|
||||
size_type non_zeros () const {
|
||||
return data_.size ();
|
||||
return detail::map_capacity (data ());
|
||||
}
|
||||
BOOST_UBLAS_INLINE
|
||||
const array_type &data () const {
|
||||
|
||||
Reference in New Issue
Block a user