* Bug 16664 fixed: diag(spzeros(2,2)) warned for Operation - [] 59/21759/3
authorSamuel GOUGEON <sgougeon@free.fr>
Mon, 10 May 2021 17:59:21 +0000 (19:59 +0200)
committerClément David <clement.david@esi-group.com>
Thu, 20 May 2021 14:33:53 +0000 (16:33 +0200)
commitf8ff9927f796d2c03a03becb11a240a2f98242d2
tree848b71e5080f8f9960bdfe4f7de53997d82c365a
parent18e9fd43fc2a5d034e5ff7a8f79e9c6a55e195cf
* Bug 16664 fixed: diag(spzeros(2,2)) warned for Operation - []

  http://bugzilla.scilab.org/16664

  Test:
  diag(spzeros(2,2))
  // Must return without warning
--> diag(spzeros(2,2))
 ans  =
(  2,  1)zero sparse matrix

Change-Id: I3a55d6d2108b19e5f1cbadfcaaf46856760b20f8
scilab/CHANGES.md
scilab/modules/elementary_functions/macros/%sp_diag.sci
scilab/modules/elementary_functions/tests/unit_tests/diag.tst [new file with mode: 0644]