[bug #68300] blkdiag with arguments of type single returns result of type double

"Dmitri A. Sergatskov" <[email protected]> Sat, 2 May 2026 07:39:47 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #3, bug #68300 (group octave):

Sorry -- it was getting late. I meant if X pass `issparse(X)` then it is
already `double`. Anyway, I reworked the comments and cleaned up code a little
bit. 

(file bug68300_blkdiag_20260502_103.cset)
(file blkdiag_103.m)

Thanks!

Dmitri.
-- 


(file #58536, file #58537)

    _______________________________________________________

Additional Item Attachment:

Name: bug68300_blkdiag_20260502_103.cset Size: 6.0KiB

<https://file.savannah.gnu.org/file/bug68300_blkdiag_20260502_103.cset?file_id=58536>

Name: blkdiag_103.m                  Size: 6.9KiB
    <https://file.savannah.gnu.org/file/blkdiag_103.m?file_id=58537>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68300>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCafXigwAKCRCqLAuaBUf3
TmO+AP9K3oqq5PeMC4DEJOLVdKN4uQ55yPPvsRgewypfEYiHlAEApSEm86+6+X6S
ErCeD53B0ZpiWzRL6MZZz+9Y+VRjAQQ=
=1gWu
-----END PGP SIGNATURE-----