In the WP article about propagators, there is an integral solved as:
$$K(x,x';t)=\frac{1}{2\pi}\int_{-\infty}^{+\infty}dk\,e^{ik(x-x')} e^{-\frac{i\hbar k^2 t}{2m}}=\left(\frac{m}{2\pi i\hbar t}\right)^{\frac{1}{2}}e^{-\frac{m(x-x')^2}{2i\hbar t}}$$
I was trying to find out how to evaluate the integral, using the method of "completing the squares" at the exponential. But at the end, I came up with $\gamma\int_{-\infty}^{\infty}e^{i\alpha (z-\beta)^2}dz$, where $\gamma$, $\alpha$ and $\beta$ are constants. The answer of the WP can be reached if it is solved as a gaussian integral: $= \gamma \sqrt{\frac{\pi}{i\alpha}}$
But is it valid to use the formula of the gaussian integral for a complex constant?
When I look at the main integral (of K), the exponentials are after all oscillating functions, that don't have necessarily to go to zero at infinity.