On Thu, 22 Sep 2011, Sven Schreiber wrote:
Am 09/22/2011 01:56 PM, schrieb Annaert Jan:
> I read in the manual that with matrix addition and subtraction scalars
> or 1x1 matrices are expanded to be conformable with the other argument, e.g.
> matrix jan=1+ones(3,1)
> works and results in a 3x1 matrix. Adding the next command also works as
> expected:
> matrix jan=ones(3,1)+jan'jan
> However, reversing the command results in an error:
> matrix jan=jan'jan + ones(3,1)
> Matrices not conformable for operation
> Is this normal behaviour and am I missing something, or is this a bug?
> I'm using Gretl 1.9.5cvs built 2011-04-24 on Mac OS X 10.6.8
this looks very much like a bug and I observe it in a more recent build
as well.
That's now fixed in CVS.
Allin