Skip to content

Commit 2cc4f2f

Browse files
committed
One more.
I am trying to fix bugs that are found in a container where I lack the ability to push to github
1 parent e025b0e commit 2cc4f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wirecell/util/peaks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def indices(self):
250250
'Array of indices (0-based counts)'
251251
return numpy.arange(self.number)
252252

253-
labeled: numpy.ndarray = numpy.zeros((0,0))
253+
labeled: ArrayLike = dataclasses.field(default_factory=lambda: numpy.zeros((0,0)))
254254
'''
255255
The frame with labeled pixels for each object.
256256
'''

0 commit comments

Comments
 (0)