Open nobias opened 3 years ago
I think this line:
https://github.com/flatironinstitute/CaImAn-MATLAB/blob/49b7884e93348d50df7173e1619d7499468bb1f6/deconvolution/oasis/foopsi_oasisAR1.m#L133
should read: tmp_hh = cumsum(tmp_h.*tmp_h);
tmp_hh = cumsum(tmp_h.*tmp_h);
Otherwise Matlab throws this error message: "Identifier 'h' is not a function or a shared variable. To share 'h' with nested function, initialize it in the current scope."
I think this line:
https://github.com/flatironinstitute/CaImAn-MATLAB/blob/49b7884e93348d50df7173e1619d7499468bb1f6/deconvolution/oasis/foopsi_oasisAR1.m#L133
should read:
tmp_hh = cumsum(tmp_h.*tmp_h);
Otherwise Matlab throws this error message: "Identifier 'h' is not a function or a shared variable. To share 'h' with nested function, initialize it in the current scope."