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

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

[Octave-bug-tracker] [bug #59631] Octave fails to call overloaded bsxun


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #59631] Octave fails to call overloaded bsxun
Date: Mon, 7 Dec 2020 03:37:21 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?59631>

                 Summary: Octave fails to call overloaded bsxun
                 Project: GNU Octave
            Submitted by: jbect
            Submitted on: lun. 07 déc. 2020 08:37:19 UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

The following snippet fails in Octave 6.1.0:


pkg load stk
x = stk_dataframe (rand (4, 3));
y = rand (4, 3);
z = bsxfun (@plus, x, y); 


Instead of calling @stk_dataframe/bsxfun, which does exist, Octave calls the
base bsxfun function, which calls @stk_dataframe/plus, which is supposed to
call @stk_dataframe/bsxfun but ends up calling the base bsxfun again...

Result: max_recursion_depth exceeded

@++
Julien

NB: I have test on Windows 10, but the Debian Octav Group has reported the
same issue, which is why I have indicated "OS: Any".





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59631>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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