You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NumbaPerformanceWarning:
prange or pndindex loop will not be executed in parallel due to there being
more than one entry to or exit from the loop (e.g., an assertion).
File "cil/optimisation/functions/KullbackLeibler.py", line 346:
def kl_div(x, y, eta):
<source elided>
accumulator = numpy.zeros(get_num_threads(), dtype=numpy.float64)
for i in prange(x.size):
^
Description
Unit test shows a numba warning:
This is due to the
else
which returns, I believe.CIL/Wrappers/Python/cil/optimisation/functions/KullbackLeibler.py
Lines 343 to 358 in bd21df3
The text was updated successfully, but these errors were encountered: