stan-dev/stan — pull request #134 by maverickg (2013-06-25 00:46:03+00:00)
Title: set next good fft size to 2 for 0 to avoid infinite loop

RStan is hanging now due to the infinite loop here when the # of iteration after warmup is 0. So this would fix the part of the problem of rstan though RStan should check if it is zero for print and plot before doing the calculation.