aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/_libwarpx.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2017-05-22 15:56:15 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2017-05-22 15:56:15 -0700
commit660bf6e1bb25d1e8c47bb33f7225692c456c7fdf (patch)
tree68ec52294f6ed33667bbfcdb4e3805854b07769d /Python/pywarpx/_libwarpx.py
parent5404acf864e72b6f10727fd5c1493ee59c555395 (diff)
downloadWarpX-660bf6e1bb25d1e8c47bb33f7225692c456c7fdf.tar.gz
WarpX-660bf6e1bb25d1e8c47bb33f7225692c456c7fdf.tar.zst
WarpX-660bf6e1bb25d1e8c47bb33f7225692c456c7fdf.zip
Bug fixes in Python wrapper
Diffstat (limited to 'Python/pywarpx/_libwarpx.py')
-rwxr-xr-xPython/pywarpx/_libwarpx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/_libwarpx.py b/Python/pywarpx/_libwarpx.py
index fec9aec13..ec87386a0 100755
--- a/Python/pywarpx/_libwarpx.py
+++ b/Python/pywarpx/_libwarpx.py
@@ -134,7 +134,7 @@ def get_nattr():
'''
# --- The -3 is because the comps include the velocites
- return _labwarpx.warpx_nComps() - 3
+ return libwarpx.warpx_nComps() - 3
def amrex_init(argv):
# --- Construct the ctype list of strings to pass in