I have a simple problem: I need to evaluate the limit $x\rightarrow 1$ of the Jacobi Theta function 2
$$\Theta_2(m,x)=2x^{1/4}\sum_{k=0}^\infty x^{k(k+1)}\cos((2k+1)m)$$
when $m=0$, that to say
$$\Theta_2(0,x)=2x^{1/4}\sum_{k=0}^\infty x^{k(k+1)}$$
I guess that the problem is a simple application of the geometric series, but I do not get the right convergence.