[Bugzilla] [Bug 11405] Stéphane MOTTELET has changed cc
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Fri Mar 23 19:25:00 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=11405
--------- Bug Summary -----------
error using hypermatrix
---------- Changed by ------------
stephane.mottelet at utc.fr
---------- What changed ----------
cc
Stéphane MOTTELET <stephane.mottelet at utc.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stephane.mottelet at utc.fr
--- Comment #9 from Stéphane MOTTELET <stephane.mottelet at utc.fr> ---
This bug is related to bug #14487, which should be fixed in a near future. In that case, the non-regression test which has been written for this bug
(#11405) should be rewritten, as it only checks that an hypermatrix can be used as a subscript. The problem is that until bug #14487 is fixed, when x
is not a scalar nor a vector and A is an hypermatrix, x(A) is always returned as a column vector regardless of the dimensions of A, e.g.
--> x
x =
1. 2.
3. 4.
--> A=ones(2,2,2)
A =
(:,:,1)
1. 1.
1. 1.
(:,:,2)
1. 1.
1. 1.
--> x(A)
ans =
1.
1.
1.
1.
1.
1.
1.
1.
In the bug report, It was pointed out two problems: 1-it was impossible to use an hypermatrix subscript, 2-the expected behavior was the one of
Matlab, i.e. in that case the output should be an hypermatrix. Hence, if bug #14487 is fixed, then the non-regression test of bug #11405 will be
modified in order to verify that hypermatrix subscripts are accepted and that the size of the output is also correct.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180323/32ec5310/attachment.htm>
More information about the Bugzilla
mailing list