Skip to content

Commit 61efc3a

Browse files
committed
Enable toggling space charge node calculation on/off
1 parent 54a6ab2 commit 61efc3a

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)