help-octave
[Top][All Lists]
Advanced

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

Re: leasqr requires optional arguments


From: Olaf Till
Subject: Re: leasqr requires optional arguments
Date: Mon, 14 Oct 2013 21:37:07 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Oct 14, 2013 at 06:00:06PM +0200, oxy wrote:
> hi guys,
> 
> if i go to the Demonstration 1 from the page:
> 
> http://octave.sourceforge.net/optim/function/leasqr.html
> 
> and end it with (as in the example):
> 
>         leasqr (t, data, pin, F, stol, niter, wt1, dp, dFdp, options)
> 
> all goes fine. If i end this example with:
> 
>  > leasqr (t, data, pin, F)
> 
> I get:
> 
> error: Invalid call to options.  Correct usage is:
> 
>  -- Function File: OPT = options ("KEY1", VALUE1, "KEY2", VALUE2, ...)
> 
> error: called from:
> error:   /usr/local/share/octave/3.6.4/m/help/print_usage.m at line 87, 
> column 5
> error:   /usr/local/share/octave/packages/control-2.4.2/options.m at
> line 68, column 5
> error: evaluating argument list element number 1
> error:   /usr/share/octave/packages/3.2/optim-1.0.17/leasqr.m at line
> 575, column 5

This was a silly bug one or two releases ago, which should not be
present in the current release of optim.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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