[bug #68153] Sparse::data should be constant

"Dmitri A. Sergatskov" <[email protected]>
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.

URL:
  <https://savannah.gnu.org/bugs/?68153>

                 Summary: Sparse::data should be constant
                   Group: GNU Octave
               Submitter: dasergatskov
               Submitted: Mon 16 Mar 2026 01:35:04 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: dev
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 16 Mar 2026 01:35:04 PM UTC By: Dmitri A. Sergatskov <dasergatskov>
To be consistent with Array::data, Sparse::data should be constant 

The attached CSET (file sparsedata_const_20260315_100.cset) 
makes this change. it also adds `rwdata` and related accessorers and changes a
few existing files for this new interface (all of them seem to use ro access
only).

Dmitri.
-- 







    _______________________________________________________
File Attachments:

Name: sparsedata_const_20260315_100.cset Size: 13KiB

<https://file.savannah.gnu.org/file/sparsedata_const_20260315_100.cset?file_id=58364>



    AGPL NOTICE

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

    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCabgHDQAKCRCqLAuaBUf3
TpVjAP9Q8nWYgsbZAGtS4w+GVyCvNj+ncVK7qPzjR3iam3AaQAEA9gQTGCNuJliF
IOT0DdCtm93dQUK9jyD+OWhmYx2B9QY=
=QLMK
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.