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

Rik <[email protected]> Mon, 4 May 2026 09:26:39 -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 #13, bug #68300 (group octave):


[comment #12 comment #12:]
> Now I realised where I was wrong -- casting "double" to double" is fast.

Yes, effectively it is a NOP since beginning and ending class are the same.

Casting from *uint8* to *double* might be slow, but there is no way around it
because the arguments to *sparse* need to be of type double.


    _______________________________________________________

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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCafiejwAKCRCqLAuaBUf3
TowXAQDWux2w8cdPrxsZ5Tu2TYX51xE5YFnIaY3DENpDIIdbeQEA1D7+WKiSuhaM
AY4eZUGyA6dG0UMVWT4Ws54wkdAe5A4=
=CBxo
-----END PGP SIGNATURE-----