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

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

[Octave-bug-tracker] [bug #42282] overloaded vertcat fails if some rows


From: Lukas Reichlin
Subject: [Octave-bug-tracker] [bug #42282] overloaded vertcat fails if some rows contain only built-in types
Date: Sun, 04 May 2014 17:45:16 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14

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

                 Summary: overloaded vertcat fails if some rows contain only
built-in types
                 Project: GNU Octave
            Submitted by: paramaniac
            Submitted on: Sun 04 May 2014 05:45:15 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: Any

    _______________________________________________________

Details:


% requires the control package
s = tf ('s')

% works
[s, 0; 0, s]

% fails
[s, 0; 0, 1]
% error: octave_base_value::map_value(): wrong type argument 'scalar'
% error: octave_base_value::parent_class_name_list(): wrong type argument
'scalar'


the same result is obtained with the quaternion package if


s = quaternion (1)






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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