[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64696] Failure to load sparse matrix with no
|
From: |
John W. Eaton |
|
Subject: |
[Octave-bug-tracker] [bug #64696] Failure to load sparse matrix with no nonzero elements from text file saved by Octave |
|
Date: |
Tue, 19 Sep 2023 13:30:46 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64696>
Summary: Failure to load sparse matrix with no nonzero
elements from text file saved by Octave
Group: GNU Octave
Submitter: jwe
Submitted: Tue 19 Sep 2023 05:30:44 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 8.3.0
Discussion Lock: Any
Operating System: Any
Fixed Release: None
Planned Release: 8.4.0 (current stable)
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 19 Sep 2023 05:30:44 PM UTC By: John W. Eaton <jwe>
I see the following behavior with 8.3.0:
octave:1> version
ans = 8.3.0
octave:2> x = y = sparse (1, 2);
octave:3> save tmp.dat x y
octave:4> fileread ("tmp.dat")
ans = # Created by Octave 8.3.0, Tue Sep 19 13:02:42 2023 EDT <jwe@devtty>
# name: x
# type: sparse matrix
# nnz: 0
# rows: 1
# columns: 2
# name: y
# type: sparse matrix
# nnz: 0
# rows: 1
# columns: 2
octave:5> load tmp.dat
error: invalid sparse matrix: element 1: Symbols '#' is not an integer format
I will commit a fix with an explanation of why the problem happens after I
have a bug report number.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64696>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64696] Failure to load sparse matrix with no nonzero elements from text file saved by Octave,
John W. Eaton <=