Skip to content

Commit

Permalink
Update Python/pywarpx/picmi.py
Browse files Browse the repository at this point in the history
Co-authored-by: Roelof Groenewald <[email protected]>
  • Loading branch information
clarkse and roelof-groenewald authored Aug 19, 2024
1 parent 2e3128d commit 94bf8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/pywarpx/picmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ class LoadInitialFieldFromPython:
B field is expected to be loaded in the registered callback.
"""
def __init__(self, **kw):
self.do_divb_cleaning_external = kw.pop('warpx_do_divb_cleaning_external', True)
self.do_divb_cleaning_external = kw.pop('warpx_do_divb_cleaning_external', None)

# If using load_from_python, a function handle is expected for callback
self.load_from_python = kw.pop('load_from_python')
Expand Down

0 comments on commit 94bf8c9

Please sign in to comment.