diff options
author | buraq <buraq@epfl.ch> | 2004-09-29 15:33:08 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-09-29 15:33:08 +0000 |
commit | 24b907a640bcdbd8b7db2bd5ddc9e978f412116c (patch) | |
tree | 444fc60c9927b2b47a8a3eddc5a3cee0416369a1 | |
parent | 006505fd592717dfbcd21837ab6bbe5c90bddffc (diff) | |
download | scala-24b907a640bcdbd8b7db2bd5ddc9e978f412116c.tar.gz scala-24b907a640bcdbd8b7db2bd5ddc9e978f412116c.tar.bz2 scala-24b907a640bcdbd8b7db2bd5ddc9e978f412116c.zip |
fixed ( >>> )
-rw-r--r-- | sources/scala/collection/BitSet.scala | 2 |
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 }; } |