Skip to content

Commit 41a87c4

Browse files
committed
Fix refactoring typo
1 parent ef60f09 commit 41a87c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/darknet/py/network.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ from .util import fsspec_cache_open
1010

1111
np.import_array()
1212

13-
cdef convert_detections_to_tuples(dn.detection* detections, int num_dets, float nms_threshold, str nms_type):
13+
cdef convert_detections_to_tuples(dn.detection* detections, int num_dets, str nms_type, float nms_threshold):
1414
if nms_threshold > 0 and num_dets > 0:
1515
if nms_type == "obj":
1616
dn.do_nms_obj(detections, num_dets, detections[0].classes, nms_threshold)

0 commit comments

Comments
 (0)