.@col

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

.@col

Postby TimGrun » Thu Jul 11, 2013 6:32 am

I believe the @col method is indexing incorrectly.
Loss is a matrix with 200 rows and 4000 columns.
vector(3) wanted = @fill(3,7,10)
matrix testit = loss.@col(wanted)
Then testit will have columns 4,8, and 11 of matrix loss!
I can adjust for this problem by subtracting 1 from the column numbers I want, but now I want column 1 from matrix loss. The @col method doesn't like it when I say I want column 0. But if I say I want column 1 then column 2 is returned.

Any quick solutions?

Tim

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: .@col

Postby EViews Gareth » Thu Jul 11, 2013 7:44 am

Well spotted. We'll fix it in next patch.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest