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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62293] Setting max_recursion_depth = inf goes beyond infinity
Date: Tue, 12 Apr 2022 03:01:03 -0400 (EDT)

Update of bug #62293 (project octave):

                Category:                   Other => Interpreter            
                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

`max_recursion_depth` is a function. You assigned a value to
`max_recursion_depth` shadowing that function with a variable of the same
name.
To call the function instead, (clear the variable if it is still in your
workspace and) call `max_recursion_depth (Inf)` instead. However, there seems
to be an upper limit(?) to the maximum recursion depth:

>> max_recursion_depth (Inf)
>> max_recursion_depth ()
ans = 2.1475e+09
>> intmax ('int32')
ans = 2147483647


Imho, it *does* make sense to keep a finite recursion limit.

Closing as invalid. But please comment if you think this is a valid bug.



    _______________________________________________________

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]