Am 12.08.2021 um 17:28 schrieb Allin Cottrell:
On Thu, 12 Aug 2021, Sven Schreiber wrote:
>
> I tested a little bit, and mostly it works fine I think. Some minor
> observations:
>
> - If the rows (or cols) are not dividible by "by", I get an "invalid
> arg" error. Perhaps "Matrix not conformable" would be a more
informative
> error?
>
> - (Probably not new behavior:) A scalar in place of M does not seem to
> be allowed, as in msplitby(2, {1}). Of course this operation does not
> look very useful, but it could arise in a corner case in a function or
> script. And my understanding is that gretl always tries to allow a
> scalar where a 1x1 matrix is valid, and msplitby({2}, {1}) already works.
Those two points are now addressed in git.
thanks for the quick reaction!
cheers
sven