Skip to content

Commit 7f8a4a4

Browse files
committed
Fix warning about MaskedConstant
1 parent 3167f68 commit 7f8a4a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openmc_plotter/plotgui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def mouseMoveEvent(self, event):
290290
if value is not None and not np.isnan(value):
291291
self.updateTallyDataIndicatorValue(value)
292292
tallyInfo = "Tally {} {}: {:.5E}".format(
293-
tid, cv.tallyValue, value)
293+
tid, cv.tallyValue, float(value))
294294
else:
295295
self.updateTallyDataIndicatorValue(0.0)
296296
else:

0 commit comments

Comments
 (0)