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

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

[Octave-bug-tracker] [bug #51214] [octave forge] (statistics) linkage fu


From: David Nichols
Subject: [Octave-bug-tracker] [bug #51214] [octave forge] (statistics) linkage function fails at modest recursion depths
Date: Mon, 14 Aug 2017 14:15:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586

Follow-up Comment #3, bug #51214 (project octave):

A couple of remarks...
1) No, this has nothing to do with the statistics package (beyond providing an
example).
2) It seems that legal input that causes the interpreter to crash should be
regarded as a bug.  If it signals an error that is caught and allows you to
diagnose/continue, that's a reasonable way to deal with the situation.
3) MATLAB has no problems with this code (and provides a "soft
landing" when an error does occur).  This argues that the problem is in
the Octave implementation and not the language itself.

>> TestSum(1:40000)
ans =
   800020000
>> TestSum(1:90000)
Out of memory. Type HELP MEMORY for your options.

I realize that the Octave maintainers are largely volunteers and have other
priorities beyond this sort of thing.  I greatly appreciate their efforts to
provide a free and very useful MATLAB like language.  Thanks for the good
work!


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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