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

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

[Octave-bug-tracker] [bug #52178] Misleading warning message when regist


From: anonymous
Subject: [Octave-bug-tracker] [bug #52178] Misleading warning message when registering operator for user defined types
Date: Fri, 6 Oct 2017 11:12:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

                 Summary: Misleading warning message  when registering
operator for user defined types
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 06 Oct 2017 03:12:19 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Maximilian Behr
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Dear Octave Team, 

i am currently working on a Octave interface for the upcoming
C-M.E.S.S. library. 
I have interfaced an own Matrix Type with binary/unary operations etc. 
When i install my own Type with the operations twice a get a misleading
warning message. 

The Problem is in libinterp/ov-typeinfo.cc.

The functions 

bool
octave_value_typeinfo::do_register_binary_op (octave_value::binary_op op, 
 int t1, 
 int t2, 
 octave_value_typeinfo::binary_op_fcn f)

bool
octave_value_typeinfo::do_register_binary_op (octave_value::compound_binary_op
op,
 int t1, 
 int t2,
 octave_value_typeinfo::binary_op_fcn f)

bool
octave_value_typeinfo::do_register_cat_op 
(int t1, 
 int t2,
 octave_value_typeinfo::cat_op_fcn f)

are effected. The warning function is called with wrong args. 

Bests, 
Maximilian Behr










    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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