summaryrefslogtreecommitdiff
path: root/numpy/f2py/lib/base_classes.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-09-17 18:00:33 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-09-17 18:00:33 +0000
commitab485b5413da403ae2d7d4c55982eb7dbe49344a (patch)
tree0d99d6c13b773838f21c9cf697d512c0193dd7aa /numpy/f2py/lib/base_classes.py
parent292d5d9446588fc2c9493a7640d4fd9a07bbf195 (diff)
downloadnumpy-ab485b5413da403ae2d7d4c55982eb7dbe49344a.tar.gz
Fixed typos, started impl. derived type support.
Diffstat (limited to 'numpy/f2py/lib/base_classes.py')
-rw-r--r--numpy/f2py/lib/base_classes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/lib/base_classes.py b/numpy/f2py/lib/base_classes.py
index d1835edfa..203cafd63 100644
--- a/numpy/f2py/lib/base_classes.py
+++ b/numpy/f2py/lib/base_classes.py
@@ -112,7 +112,7 @@ class Variable:
return
def get_bit_size(self):
- typesize = self.typedecl.get_bit_size(self)
+ typesize = self.typedecl.get_bit_size()
if self.is_pointer():
# The size of pointer descriptor is compiler version dependent. Read:
# http://www.nersc.gov/vendor_docs/intel/f_ug1/pgwarray.htm
@@ -227,7 +227,7 @@ class Variable:
def is_required(self): return 'REQUIRED' in self.attributes
def is_pointer(self): return 'POINTER' in self.attributes
- def is_array(self): return not not (self.bounds or self.dimensions)
+ def is_array(self): return not not (self.bounds or self.dimension)
def update(self, *attrs):
attributes = self.attributes