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

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

[Octave-bug-tracker] [bug #42152] Overloaded vercat() not called in some


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #42152] Overloaded vercat() not called in some other cases
Date: Sun, 20 Apr 2014 15:56:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

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

                 Summary: Overloaded vercat() not called in some other cases
                 Project: GNU Octave
            Submitted by: cbm
            Submitted on: Sun 20 Apr 2014 03:56:53 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

x is a member of a class with a overloading vertcat.


z7 = [x; [1 2]]   % works (bug #38128)
z8 = [x; 1 2]     % fails


For details, look at bug #38128, consider the example given there in the OP. 
Those do work correctly.

The error message is:

error: octave_base_value::map_value(): wrong type argument 'scalar'
error: octave_base_value::parent_class_name_list(): wrong type argument
'scalar'


I attach the files for the class, essentially from bug #38128 with typo fixed
and double.m added.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 20 Apr 2014 03:56:53 PM GMT  Name: A.m  Size: 60B   By: cbm

<http://savannah.gnu.org/bugs/download.php?file_id=31219>
-------------------------------------------------------
Date: Sun 20 Apr 2014 03:56:53 PM GMT  Name: vertcat.m  Size: 62B   By: cbm

<http://savannah.gnu.org/bugs/download.php?file_id=31220>
-------------------------------------------------------
Date: Sun 20 Apr 2014 03:56:53 PM GMT  Name: double.m  Size: 35B   By: cbm

<http://savannah.gnu.org/bugs/download.php?file_id=31221>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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