Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a potential type or bug in update_g #4

Open
neurostar opened this issue Jun 27, 2018 · 0 comments
Open

a potential type or bug in update_g #4

neurostar opened this issue Jun 27, 2018 · 0 comments

Comments

@neurostar
Copy link

I got a warning from MATLAB.
After review the code, It does look worth checking.
Line 35 of update_g.m

tmp_h = exp(log(g)*(0:maxl)');   % response kernel
tmp_hh = cumsum(h.*h);        % hh(k) = h(1:k)'*h(1:k)

"h" looks to be tmp_h instead.
actual h is coming from rss_g function.

It may just work, since they are same.
Please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant