inv() is no longer overloadable for hypermat of doubles
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
From https://www.mail-archive.com/users@lists.scilab.org/msg09757.html
inv() is no longer overloadable for hypermat of doubles:
Scilab 5.5.2:
.............
-->inv(rand(2,2,2)) // OK
!--error 246
Fonction non définie pour le type d'argument donné,
Vérifier les arguments ou définir la fonction %hm_inv pour la surcharge.
Scilab 6.0 and 6.1.0:
....................
--> h = rand(2,2,2)
h =
(:,:,1)
0.8782165 0.5608486
0.068374 0.6623569
(:,:,2)
0.7263507 0.5442573
0.1985144 0.2320748
--> inv(h)
ans =
(:,:,1)
1.219035 -1.032214
-0.125839 1.6163138
(:,:,2)
0.7263507 0.5442573
0.1985144 0.2320748
instead of yielding an error message claiming for defining %s_inv().
ERROR LOG:
----------
None. That's the issue.
HOW TO REPRODUCE THE BUG:
-------------------------
inv(rand(2,2,2))
Edited by Vincent COUVERT