diff options
author | 2013-07-22 21:19:54 -0700 | |
---|---|---|
committer | 2013-07-22 21:20:04 -0700 | |
commit | fb2d9ddf20998f177ebf404413de4d8d94749a48 (patch) | |
tree | 6c5e8d78fa9570104f03328e28c90d391de10685 /src/core/basetypes | |
parent | e94b21dfb10d7730699fa0e02ff28da4c6d4694d (diff) |
Fixed IndexSet::count() implementation.
Diffstat (limited to 'src/core/basetypes')
-rw-r--r-- | src/core/basetypes/MCIndexSet.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/basetypes/MCIndexSet.cc b/src/core/basetypes/MCIndexSet.cc index 514e9d66..cd880fe5 100644 --- a/src/core/basetypes/MCIndexSet.cc +++ b/src/core/basetypes/MCIndexSet.cc @@ -70,7 +70,7 @@ unsigned int IndexSet::count() { unsigned int total = 0; for(unsigned int i = 0 ; i < mCount ; i ++) { - total += mRanges[i].length; + total += mRanges[i].length + 1; } return total; } |