Skip to content

Commit

Permalink
Revert change for which pool is used
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesra committed Jan 17, 2025
1 parent def78c4 commit 9c00804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nornir_imageregistration/local_distortion_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,8 @@ def _RefinePointsForTwoImages(transform: nornir_imageregistration.transforms.ITr

nPoints = len(keys)

# pool = nornir_pools.GetGlobalSerialPool() if nornir_imageregistration.UsingCupy() else nornir_pools.GetGlobalMultithreadingPool()
pool = nornir_pools.GetGlobalThreadPool()
pool = nornir_pools.GetGlobalSerialPool() if nornir_imageregistration.UsingCupy() else nornir_pools.GetGlobalMultithreadingPool()
# pool = nornir_pools.GetGlobalThreadPool()
tasks = list()
alignment_records = list()

Expand Down

0 comments on commit 9c00804

Please sign in to comment.