aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/fields.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Python/pywarpx/fields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/fields.py b/Python/pywarpx/fields.py
index e36f4707a..f7131f326 100644
--- a/Python/pywarpx/fields.py
+++ b/Python/pywarpx/fields.py
@@ -74,7 +74,7 @@ class _MultiFABWrapper(object):
def __len__(self):
lovects, ngrow = self._getlovects()
- return lend(lovects)
+ return len(lovects)
def mesh(self, direction):
"""Returns the mesh along the specified direction with the appropriate centering.