PF work only in one version

I have done an analysis of the PF with version and it worked fine, but when doing it with version 3.15 I get the following error

File C:\ProgramData\anaconda3\Lib\site-packages\spyder_kernels\ in compat_exec
exec(code, globals, locals)

File i:\fismed\personales\mario\ruedapf\central\
pf.analyze(tolerance=0.15, action_tolerance=0.03)

File ~\AppData\Roaming\Python\Python311\site-packages\pylinac\ in analyze
window = self._get_mlc_window(

File ~\AppData\Roaming\Python\Python311\site-packages\pylinac\ in _get_mlc_window
left_edge = max(int(approx_idx - spacing / 2), 0)

ValueError: cannot convert float NaN to integer

I do the analysis with
mlc_config = MLCArrangement(leaf_arrangement=[(32, 2.5)])

The center of the MLC_120HD
pf = PicketFence(pf_img,mlc=mlc_config)
pf.analyze(tolerance=0.15, action_tolerance=0.03)

It seems that it is a mistake with the spacing that passes it as Nan


RI.VMAT QA.MV_0_0a.dcm (2.7 MB)

The required prominence needs to be lowered: