From aborgabor at gmail.com  Wed Apr 30 15:13:05 2014
From: aborgabor at gmail.com (Gabor Bakos)
Date: Wed, 30 Apr 2014 15:13:05 +0200
Subject: [Rd] arima.c bug?
Message-ID: <5360F6E1.5030508@gmail.com>

Hello,

   Reading the code I have found that in the line 653 (Pnew[i + r * j] =
tmp;) of http://svn.r-project.org/R/trunk/src/library/stats/src/arima.c
(latest as of now) the multiplier for j is r instead of rd (which is the
dimension of the matrix). Was it intentional? That seems at least worth
a comment why it is the case instead of Pnew[i + rd * j] = tmp;
Thanks and Kind Regards, gabor



[Rd] arima.c bug?
Gabor Bakos