aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2018-12-14 13:40:32 -0800
committerGravatar Dave Grote <grote1@llnl.gov> 2018-12-14 13:40:32 -0800
commit0108a747887d96b842f7133557ec4a1f6583514f (patch)
treedc9eeff748f19e1ac7bd13fcee8da753cd347c5e /Python/pywarpx/picmi.py
parent86ff3fa5cfb5695f55cd514d8df0e99b81187cce (diff)
downloadWarpX-0108a747887d96b842f7133557ec4a1f6583514f.tar.gz
WarpX-0108a747887d96b842f7133557ec4a1f6583514f.tar.zst
WarpX-0108a747887d96b842f7133557ec4a1f6583514f.zip
Bug fix in picmi.py
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index 81b1543bb..70d63e467 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -420,7 +420,7 @@ class Simulation(picmistandard.PICMI_Simulation):
if self.gamma_boost is not None:
pywarpx.warpx.gamma_boost = self.gamma_boost
- pywarpx.warpx.boost_direction = z
+ pywarpx.warpx.boost_direction = 'z'
pywarpx.amr.plot_int = self.plot_int
pywarpx.amr.plot_file = self.plot_file