FXIhub / condor

Condor: a simulation tool for flash X-ray imaging
http://lmb.icm.uu.se/condor
BSD 2-Clause "Simplified" License
25 stars 14 forks source link

Issue in condor/utils/resample.py #32

Closed Toonggg closed 3 years ago

Toonggg commented 3 years ago

Line 92 to Line 93: TypeError: No loop matching the specified signature and casting was found for ufunc true_divide The problem is that we can't divided using /= on an Numpy-array. The proposed fix is to replace the division by //=: Y //= factor X //= factor

FilipeMaia commented 3 years ago

Fixed by #33.