Skip to content

Commit 1de9107

Browse files
committed
Fix HiPACE bug
1 parent 261ce9b commit 1de9107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VisualPIC/DataHandling/unitConverters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def SetSimulationParameters(self, params):
272272
super().SetSimulationParameters(params)
273273
self._SetNormalizationFactor(params["n_p"])
274274

275-
def ConvertToISUnits(self, dataElement):
275+
def ConvertToISUnits(self, dataElement, data):
276276
dataElementName = dataElement.GetName()
277277
if dataElementName == "Ex" or dataElementName == "Ey" or dataElementName == "Ez":
278278
return data*self.E0 # V/m

0 commit comments

Comments
 (0)