Skip to content

Commit 29fc708

Browse files
committed
remove explicit float
1 parent 201e09c commit 29fc708

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pybdsim/Data.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -765,13 +765,13 @@ def WriteSamplerDataToROOTFile(inputFileName, outputFileName, samplerName):
765765
:type samplerName: str
766766
"""
767767

768-
x = _np.array([0.0]).astype(_np.double)
769-
y = _np.array([0.0]).astype(_np.double)
770-
xp = _np.array([0.0]).astype(_np.double)
771-
yp = _np.array([0.0]).astype(_np.double)
772-
p = _np.array([0.0]).astype(_np.double)
768+
x = _np.array([0]).astype(_np.double)
769+
y = _np.array([0]).astype(_np.double)
770+
xp = _np.array([0]).astype(_np.double)
771+
yp = _np.array([0]).astype(_np.double)
772+
p = _np.array([0]).astype(_np.double)
773773
partID = _np.array([0]).astype(_np.int32)
774-
weight = _np.array([0.0]).astype(_np.double)
774+
weight = _np.array([0]).astype(_np.double)
775775

776776
outputFile = _ROOT.TFile(outputFileName, 'recreate')
777777
outputTree = _ROOT.TTree(samplerName, samplerName)

0 commit comments

Comments
 (0)