Use in-place sort

pull/18795/head
Aitik Gupta 4 years ago
parent 76cf31bee7
commit d9c5b85671
  1. 2
      samples/python/stitching_detailed.py

@ -387,7 +387,7 @@ def main():
focals = []
for cam in cameras:
focals.append(cam.focal)
sorted(focals)
focals.sort()
if len(focals) % 2 == 1:
warped_image_scale = focals[len(focals) // 2]
else:

Loading…
Cancel
Save