rand(2,2,2) ^ 2 now yields a wrong result instead of trying to call the %s_p_s overload for input hypermatrices
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
Reported from https://www.mail-archive.com/users@lists.scilab.org/msg09757.html
rand(2,2,2) ^ 2 now yields a wrong result instead of trying to call the %s_p_s overload for input hypermatrices.
Scilab 5.5.2:
.............
-->rand(2,2,2) ^ 2 // OK
!--error 144
Opération non définie pour les opérandes données.
Vérifier ou définir la fonction %hm_p_s pour la surcharge.
Scilab 6.0.0 to 6.1.0:
......................
--> rand(2,2,2) ^ 2 // KO
ans =
0.2446856 0.7806835
0.1912966 0.6169951
ERROR LOG:
----------
None. That's the issue.
HOW TO REPRODUCE THE BUG:
-------------------------
rand(2,2,2) ^ 2
Edited by Vincent COUVERT