diff options
-rwxr-xr-x | Demo/classes/bitvec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/classes/bitvec.py b/Demo/classes/bitvec.py index 97921f2..227a536 100755 --- a/Demo/classes/bitvec.py +++ b/Demo/classes/bitvec.py @@ -20,7 +20,7 @@ def _compute_len(param): mant, l = math.frexp(float(param)) bitmask = 1 << l if bitmask <= param: - raise 'FATAL', '(param, l) = %r' % ((param, l),) + raise ValueError('(param, l) = %r' % ((param, l),)) while l: bitmask = bitmask >> 1 if param & bitmask: |