Commit 12925cb6 authored by Stefan Marr's avatar Stefan Marr

Fix initialization for wrapped field of BigInteger and Double

Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent a15d7e95
......@@ -3,7 +3,7 @@ from som.vmobjects.object import Object
class BigInteger(Object):
def __init__(self, nilObject):
Object.__init__(self, nilObject)
self._embedded_biginteger = None
self._embedded_biginteger = 0L
def get_embedded_biginteger(self):
return self._embedded_biginteger
......
......@@ -4,7 +4,7 @@ class Double(Object):
def __init__(self, nilObject):
Object.__init__(self, nilObject)
self._embedded_double = None
self._embedded_double = 0.0
def get_embedded_double(self):
return self._embedded_double
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment