bugGNU Octave - Bugs: bug #51581, cellfun with objects

 
 

bug #51581: cellfun with objects

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Wed 26 Jul 2017 10:23:55 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unexpected Error
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 26 Jul 2017 09:58:19 PM UTC, comment #2:

Mike, thank you, I found my bug and we can close this report.

Ernst Reissner <ernstreissner>
Wed 26 Jul 2017 05:50:04 PM UTC, comment #1:

Substituting either the built-in ftp class or the sym class provided by the symbolic package works, so it might be something to do with your class.

Mike Miller <mtmiller>
Project Administrator
Wed 26 Jul 2017 10:23:55 AM UTC, original submission:

Whereas
cellfun(@isa, {1, 1, 1}, {"numeric" "float" "integer"})
works,
cellfun(@isa, {pn(), pn(), pn()}, {"numeric" "float" "integer"})
yields
error: operator =: no conversion for assignment of 'class' to indexed 'matrix'

Here, pn() is the constructor of my class.
I think the problem is not with my implementation
but with using oo in general.

Ernst Reissner <ernstreissner>

 

(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 mtmiller (Posted a comment)
  • -unavailable- added by ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 27 Jul 2017 02:39:48 AM UTCmtmillerOpen/ClosedOpen=>Closed
    Wed 26 Jul 2017 05:50:04 PM UTCmtmillerStatusNone=>Works For Me
    Wed 26 Jul 2017 10:23:55 AM UTCernstreissnerCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1