[Top][All Lists]

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

Re: octave memory allocation problem ?

From: Ted Harding
Subject: Re: octave memory allocation problem ?
Date: Sat, 29 Apr 1995 16:32:37 +0200 (BST)

( Re Message From: John Eaton )
> Octave evaluates the right hand side first and then assigns the value
> to the left hand side so that the value on the left hand side is
> preserved if an error occurs during the evaluation of the right hand
> side.  I like this feature, but if there is some good reason for not
> doing this, I will consider changing it.
> jwe
You're not the only one who likes this feature. If "y = fn(X,y)" is
taking part in an iterative convergence scheme, it's very handy
that you don't have to trap all possible errors inside "fn" and
have to arrange to "return" the input value of "y" in case something
falls over inside "fn". Unless there are very strong reasons to the
contrary, please don't change this.

Ted.                                    (address@hidden)

reply via email to

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