bugGNU Octave - Bugs: bug #42333, Variable type not compatible in...

 
 

bug #42333: Variable type not compatible in addition statement

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sun 11 May 2014 06:08:53 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 15 Dec 2016 04:48:09 PM UTC, comment #3:

Nice, I get to close a bug report. Thanks for checking on all these outstanding reports.

Rik <rik5>
Project Administrator
Thu 15 Dec 2016 04:06:19 PM UTC, comment #2:

This issue seems to be FIXED in Octave 4.2.0.

Running the sample code from comment #0 does not throw any error any more. (Running the same code in Octave 4.0.3 does give me an error.)

Hartmut <hardy>
Sun 11 May 2014 11:52:57 PM UTC, comment #1:

Confirmed. This bug has been present since at least version 3.4.3. Interestingly, the reverse of assiging a double complex matrix to a single real matrix works.

Rik <rik5>
Project Administrator
Sun 11 May 2014 06:08:53 PM UTC, original submission:

>> temp=zeros(256,64,4);
>> q=single(temp)+i;
>> temp(:,:,1)=q(:,:,1);

error: operator =: no conversion for assignment of 'float complex matrix' to indexed 'complex matrix'
error: assignment failed, or no method for 'matrix = float complex matrix'

Ceral Paquet <octavebugs>

 

(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 hardy (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by octavebugs (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
    Thu 15 Dec 2016 04:48:09 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Release3.8.1=>4.2.0
    Sun 11 May 2014 11:52:57 PM UTCrik5CategoryNone=>Interpreter
      Item GroupNone=>Incorrect Result
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1