Re: [Rd] Error in simulation. NAN

2013-08-27 Thread Martyn Byng
r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of gianluca.mastranto...@yahoo.it Sent: 27 August 2013 13:15 To: r-devel@r-project.org Subject: [Rd] Error in simulation. NAN Hi all, im triyng to implement a bayesian model with R and c++. I have a strange problem. I ca

[Rd] Error in simulation. NAN

2013-08-27 Thread gianluca.mastranto...@yahoo.it
Hi all, im triyng to implement a bayesian model with R and c++. I have a strange problem. I can't reproduce the error with a small script and then i post the original one. The problem is after the line for(MCMC_iter2=0;MCMC_iter2For the first 34 iterations all work fine, after, all the