Skip to content

Commit 59921b3

Browse files
authored
Merge pull request #38 from austin-hoover/fix-toggle-sc
Enable toggling space charge node calculation on/off
2 parents 9399a50 + 61efc3a commit 59921b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/orbit/space_charge/scAccNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def setCalculationOn(self, switcher):
5050
"""
5151
Sets the boolean parameter that define if the calculations will be performed. True of False.
5252
"""
53-
self.switcher = True
53+
self.switcher = switcher
5454

5555
def getCalculationOn(self):
5656
"""

0 commit comments

Comments
 (0)