aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/fields.py
diff options
context:
space:
mode:
authorGravatar nruof <86024944+nruof@users.noreply.github.com> 2021-07-15 17:45:42 -0700
committerGravatar GitHub <noreply@github.com> 2021-07-15 17:45:42 -0700
commit0e1c407e98531e50ac22a5790399247e491b2614 (patch)
treed05bbd488c04920ebd007df58365dd782807cd4a /Python/pywarpx/fields.py
parentf2807775949937ffac0b818bb234bc32fe408b8b (diff)
downloadWarpX-0e1c407e98531e50ac22a5790399247e491b2614.tar.gz
WarpX-0e1c407e98531e50ac22a5790399247e491b2614.tar.zst
WarpX-0e1c407e98531e50ac22a5790399247e491b2614.zip
Typo fix in fields.py (#2095)
Diffstat (limited to 'Python/pywarpx/fields.py')
-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.