[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
QUAD: get recursive error calling quad more than once
From: |
John W. Eaton |
Subject: |
QUAD: get recursive error calling quad more than once |
Date: |
Mon, 28 Feb 2000 12:21:01 -0600 (CST) |
On 28-Feb-2000, David Bercovici <address@hidden> wrote:
| To: address@hidden
| Cc: dberco
| Subject: QUAD: get recursive error calling quad more than once
| --------
| Bug report for Octave 2.0.14.90 configured for i686-pc-linux-gnu
|
| Description:
| -----------
|
| Calling quad two or more times in a row on the same function
| causes it to return an "invalid recursive call" error.
|
| Repeat-By:
| ---------
|
| The integrand function is f2.m (any seem to cause the error, but
| I'll give you this sample)
|
| function ff = f2(x)
| ff= sqrt(x*(1-x));
|
| Here's the sequence of commands
|
| octave:1> quad('f2',0.001,0.999)
| ans = 0.39266
| octave:2> quad('f2',0.001,0.999)
| error: quad: invalid recursive call
| error: evaluating index expression near line 2, column 1
This problem should be fixed in the current release of Octave, version
2.0.16.
Thanks,
jwe