On Wed, Jan 11, 2012 at 06:46:52PM +0100, marco atzeri wrote:
> On 1/11/2012 10:57 AM, Olaf Till wrote:
> > On Tue, Jan 10, 2012 at 05:57:04PM +0000, Carnë Draug wrote:
> >> On 31 December 2011 07:52, marco atzeri<marco.atz...@gmail.com>  wrote:
> >>>>>>>>>>>>>>>
> >>>>> snip>>>>
> >>>>>>>>>>>>>>>
> >>>> How about an optim-1.0.18 release? Are there any release criteria?
> >>
> >> No. It's up to the package mantainer which for this package is any dev
> >> of octave-forge.
> >>
> >>> there are also some warnings to check
> >>>
> >>> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_1'
> >>> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_2'
> >>> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_3'
> >>> warning: optimset: no defaults for function `nonlin_residmin'
> >>> warning: optimset: no defaults for function `residmin_stat'
> >>>
> >>> and I suggest to wait confirmation that it works also on mingw
> >>
> >> Considering that 3.6 will be released soon, maybe a new release is in
> >> order. About this warnings, they seem to be on files used to test the
> >> package, and not actualy functions. Maybe they could be moved to
> >> another directory?
> >>
> >> Carnë
> >
> > The last two warnings should not happen and do not happen for
> > me. Marco, 'nonlin_residmin ("defaults")' and 'residmin_stat
> > ("defaults")' seem to fail for you; maybe a problem with permissions
> > on your system?
> 
> I think is more related to the parsing of documentation,  as the
> previous warnings.

In installation of optim, the following lines of PKG_ADD:

  __all_opts__ ("nonlin_residmin");
  __all_opts__ ("residmin_stat");

are automatically executed to register the names of optimset-options
of nonlin_residmin and residmin_stat with Octave. __all_opts__ will
call optimset with the respective function names as argument, which
in turn calls the functions with the calls

nonlin_residmin ("defaults");
residmin_stat ("defaults");

to retrieve their arguments. A failure of this call is caught with
try-catch and produces the error message which you have seen as a
warning, since __all_opts__ converts it to a warning with try-catch.
That is why I said the above calls must be failing on your system.
Have you tried it?

Olaf


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to