bugGNU Octave - Bugs: bug #45101, Octave generates empty...

 
 

bug #45101: Octave generates empty array/matrix of floats

Submitter:  None
Submitted:  Thu 14 May 2015 04:57:17 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  inter Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 May 2015 12:36:12 PM UTC, comment #2: 

Hi,

This is a symptom of using a locale that has comma as decimal separator. Can the OP confirm that his system is using comma as separator?
Octave now has a more robust mechanism to force LC_Numeric="C", so this should not happen in 4.0

Pantxo Diribarne <pantxo>
Group Member
Thu 14 May 2015 10:21:41 AM UTC, comment #1: 

Works ok in octave 4.0 rc4


>> c = [ 1.0 : 0.5 : 2.5 ]

c =

   1.0000   1.5000   2.0000   2.5000

Doug Stewart <dastew>
Thu 14 May 2015 04:57:17 AM UTC, original submission:  

Octave with experimental GUI can not produce proper results for this input:

c = [ 1.0 : 0.5 : 2.5 ]

Octeve gives a result :
c = [](1x0)

Octave without GUI ( which is running as a second instance)
produces expected result.

Take a look to the attachment.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #34003:  octave-bug.png added by None (60KiB - image/png)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-17 rik5 Open/ClosedOpen Closed
    2015-05-14 mtmiller Dependencies- Depends on bugs #44029
    2015-05-14 pantxo StatusNone Need Info
    2015-05-14 None Attached File- Added octave-bug.png, #34003

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code