Correct numerical solution for adaptive firing rate