help-octave
[Top][All Lists]
Advanced

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

Re: leasqr(optim-1.0.16) fails with `cell2cell' undefined near line 69


From: Juergen Rose
Subject: Re: leasqr(optim-1.0.16) fails with `cell2cell' undefined near line 69 column 17
Date: Thu, 22 Mar 2012 15:20:15 +0100

Am Donnerstag, den 22.03.2012, 14:31 +0100 schrieb Juergen Rose:
> Hi,
> 
> after setup of octave on a new system leasqr() fails in some case, e.g.
> with the attached script with:
> 
> address@hidden:/home/rose/Txt/src/Test/Octave(7)$ octave leasqr_test_2.m  
> GNU Octave, version 3.6.1
> ...
> Octave was configured for "x86_64-pc-linux-gnu".
> ...
> For information about changes from previous versions, type `news'.
> 
> error: `cell2cell' undefined near line 69 column 17
> error: called from:
> error:   /usr/share/octave/packages/optim-1.0.16/__dfdp__.m at line 69,
> column 15
> error:   /usr/share/octave/packages/optim-1.0.16/dfdp.m at line 70,
> column 7
> error:    at line -1, column -1
> error:   /usr/share/octave/packages/optim-1.0.16/__lm_svd__.m at line
> 176, column 9
> error:   /usr/share/octave/packages/optim-1.0.16/leasqr.m at line 583,
> column 26
> error:   /home_wildcat/rose/Txt/src/Test/Octave/leasqr_test_2.m at line
> 22, column 20
> 
> 
> octave and optim were installed under Gentoo with the following options:
> 
> address@hidden:/home/rose/Txt/src/Test/Octave(8)$ emerge -pvD octave optim
> These are the packages that would be merged, in order:
> Calculating dependencies... done!
> [ebuild   R    ] sci-mathematics/octave-3.6.1  USE="X curl doc fftw glpk
> gnuplot imagemagick opengl qhull qrupdate readline sparse zlib
> -static-libs" 0 kB
> [ebuild   R    ] g-octave/optim-1.0.16::g-octave  0 kB


I still found something intersting. The script works at moose, where
octave complains about function shadowing, with optim-1.0.12:

address@hidden:/home_moose/rose/Txt/src/Test/Octave(2)$ octave
leasqr_test_2.m  
GNU Octave, version 3.6.1
...
For information about changes from previous versions, type `news'.

warning: function /usr/share/octave/packages/optim-1.0.12/fminbnd.m
shadows a core library function
f =

    1.1536
    2.1451
    3.9891
    7.4179
   13.7941

p =

   0.62034
   0.62034

cvg =  1
iter =  7


But it does not work at wildcat with optim-1.0.16, where octave does not
complain about function shadowing, as seen in my last posting.




reply via email to

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