bugGNU Octave - Bugs: bug #50574, error: operator =: no conversion...

 
 

bug #50574: error: operator =: no conversion for assignment of 'scalar' to indexed 'float complex scalar'

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sat 18 Mar 2017 08:51:57 AM UTC  
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  4.2.1 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 21 Mar 2017 11:01:28 PM UTC, comment #4:

Verified fix with both original example and my simpler one. Marking as Fixed and closing report.

Rik <rik5>
Project Administrator
Tue 21 Mar 2017 01:45:34 PM UTC, comment #3:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/f77d840f0f7c

John W. Eaton <jwe>
Project Administrator
Sat 18 Mar 2017 05:06:04 PM UTC, comment #2:

Confirmed. Octave is missing a conversion template.

A simpler method to reproduce is

The corresponding method of assigning assigning to doubles works

The error message is quite specific and quite accurate. It is the conversion of a double scalar to an indexed 'float complex scalar' that is missing. The conversion to a 'float matrix' exists and works correctly.

Rik <rik5>
Project Administrator
Sat 18 Mar 2017 09:10:30 AM UTC, comment #1:

Strange. I have a really recent development version and see a problem here, but it manifests a little differently:

It looks like my median() comes from the nan package:

Where is your median originating from? I don't think there is a line #93 in my version.

Your guess does make sense in a way, i.e., that there is some missing C++ conversion whose definition was overlooked. But check where median is coming from and if it is an external file, check what line 93 is.

Dan Sebald <sebald>
Sat 18 Mar 2017 08:51:57 AM UTC, original submission:

I ran into this error - not really sure what it means. Maybe a missing template somewhere deep in the C++ ...

Ceral Paquet <octavebugs>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can 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
    Tue 21 Mar 2017 11:01:28 PM UTC rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    Tue 21 Mar 2017 01:45:34 PM UTC jwe StatusConfirmed => Ready For Test
    Sat 18 Mar 2017 05:06:04 PM UTC rik5 CategoryNone => Libraries
        StatusNone => Confirmed
        SummarySingle complex median error: no conversion for assignment => error: operator =: no conversion for assignment of 'scalar' to indexed 'float complex scalar'

    Back to the top


    Powered by Savane 3.3