bugGNU Octave - Bugs: bug #34328, Can't set entries in...

 
 

bug #34328: Can't set entries in single-precision complex matrices to real values

Submitted by:  Nir Krakauer <nir_krakauer>
Submitted on:  Sun 18 Sep 2011 11:21:24 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 6Item Group: Incorrect Result
Status: FixedAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Nir KrakauerOpen/Closed: Closed
Release: 3.4.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 19 Sep 2011 06:06:41 AM UTC, comment #3:

The following cset on the stable branch fixes the problem for me:

http://hg.savannah.gnu.org/hgweb/octave/rev/6abc581bf2c9

You'll have to wait for our next stable release (which I'm hoping will happen very soon) or build the stable branch from the Mercurial repository to see this fix.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Mon 19 Sep 2011 03:25:13 AM UTC, comment #2:

I've been looking at the assignment operator code recently. I think I know where the fix for this is. I'll look into it.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Mon 19 Sep 2011 03:09:01 AM UTC, comment #1:

This is also the case with a recent development tip (2011/08/18). Surprisingly, it seems to have been undiscovered in the code base for quite a long time because the same error exists with version 3.2.4.

Rik <rik5>
Project Administrator
Sun 18 Sep 2011 11:21:24 PM UTC, original submission:

With a single-precision complex matrix, e.g.

An error is returned when setting an entry to a real value:

Setting to a complex or imaginary value works fine, as in

Nir Krakauer <nir_krakauer>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by nir_krakauer (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Sep 2011 06:06:41 AM UTCjordighStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Release3.4.0=>3.4.2
    Mon 19 Sep 2011 03:25:13 AM UTCjordighAssigned toNone=>jordigh
    Mon 19 Sep 2011 03:09:01 AM UTCrik5Priority5 - Normal=>6
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1