diff --git a/niftypet/nipet/lm_inv/src/lm_inv_module.cu b/niftypet/nipet/lm_inv/src/lm_inv_module.cu index 54d9d483..03fedee4 100644 --- a/niftypet/nipet/lm_inv/src/lm_inv_module.cu +++ b/niftypet/nipet/lm_inv/src/lm_inv_module.cu @@ -249,7 +249,7 @@ static PyObject *hist(PyObject *self, PyObject *args) { //> axial LUTs: PyObject *pd_msn; if (Cnt.SPN==1){ - pd_msn1 = PyDict_GetItemString(o_axLUT, "Msn1"); + pd_msn = PyDict_GetItemString(o_axLUT, "Msn1"); } else { pd_msn = PyDict_GetItemString(o_axLUT, "Msn");