summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2004-09-29 15:33:08 +0000
committerburaq <buraq@epfl.ch>2004-09-29 15:33:08 +0000
commit24b907a640bcdbd8b7db2bd5ddc9e978f412116c (patch)
tree444fc60c9927b2b47a8a3eddc5a3cee0416369a1 /sources
parent006505fd592717dfbcd21837ab6bbe5c90bddffc (diff)
downloadscala-24b907a640bcdbd8b7db2bd5ddc9e978f412116c.tar.gz
scala-24b907a640bcdbd8b7db2bd5ddc9e978f412116c.tar.bz2
scala-24b907a640bcdbd8b7db2bd5ddc9e978f412116c.zip
fixed ( >>> )
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/collection/BitSet.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/collection/BitSet.scala b/sources/scala/collection/BitSet.scala
index 9f32a62716..bebdcd7003 100644
--- a/sources/scala/collection/BitSet.scala
+++ b/sources/scala/collection/BitSet.scala
@@ -87,6 +87,6 @@ abstract class BitSet with Function1[Int,Boolean] {
}
/** returns number of Int cells needed to store n bits */
- protected def memsize(n:Int) = size >>> 5 + { if(size < 32) 1 else 0 };
+ protected def memsize(n:Int) = (size >>> 5) + { if(size < 32) 1 else 0 };
}