octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51581] cellfun with objects


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #51581] cellfun with objects
Date: Wed, 26 Jul 2017 06:23:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

URL:
  <http://savannah.gnu.org/bugs/?51581>

                 Summary: cellfun with objects
                 Project: GNU Octave
            Submitted by: ernstreissner
            Submitted on: Wed 26 Jul 2017 10:23:55 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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. 





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51581>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]