aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-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 6ee342bdc..ccf35b414 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -486,7 +486,7 @@ class ElectromagneticSolver(picmistandard.PICMI_ElectromagneticSolver):
else:
# --- Same method names are used, though mapped to lower case.
- pywarpx.algo.maxwell_fdtd_solver = self.method
+ pywarpx.algo.maxwell_solver = self.method
if self.cfl is not None:
pywarpx.warpx.cfl = self.cfl