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

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

[Octave-bug-tracker] [bug #62293] Setting max_recursion_depth = inf goes


From: anonymous
Subject: [Octave-bug-tracker] [bug #62293] Setting max_recursion_depth = inf goes beyond infinity
Date: Mon, 11 Apr 2022 13:18:45 -0400 (EDT)

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

                 Summary: Setting max_recursion_depth = inf goes beyond
infinity
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 11 Apr 2022 05:18:43 PM UTC
                Category: Other
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.1.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

Test function:

function y = f(x)
  y = f(x);
endfunction


Remove limit on recursion depth:

>> max_recursion_depth = inf
max_recursion_depth = Inf


Expected system error, but Octave exceeded infinite recursions:

>> f (0)
error: max_recursion_depth exceeded
error: called from
    f
    f at line 2 column 8






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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