Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c.
On 29 Jun 2011, at 12:21, Olaf Till wrote: > It occured to me that with your example the returns within the blocks > weren't supposed to be met at all, but only > > Cell retval (rdims); > > ... > > return octave_value (retval); > > in the outer function block. And cell2cell should have not

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 11:58:55AM +0200, c. wrote: > > On 29 Jun 2011, at 11:02, Olaf Till wrote: > > > I'd try to clarify first if indeed having a single return point is > > considered mandatory > > It sure isn't mandatory in Octave-Forge where coding guidelines are not as > strict as in Octa

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c.
On 29 Jun 2011, at 10:57, Olaf Till wrote: > > But this version was already checked in. You probably didn't update to > current SVN ... You are right, although I did update the SVN repository the version I had installed is the released one. Updating to the SVN version demo leasqr now works

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c.
On 29 Jun 2011, at 11:02, Olaf Till wrote: > I'd try to clarify first if indeed having a single return point is > considered mandatory It sure isn't mandatory in Octave-Forge where coding guidelines are not as strict as in Octave core. On the other hand I do find it useful when debugging ... >

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 09:54:11AM +0200, c. wrote: > > On 29 Jun 2011, at 09:16, Olaf Till wrote: > > > I'm not ready, but: > > > > Your example with cell2cell works for me, too: > > is your version of cell2cell the same as in the repository? > > > octave:5> function prova () > >> m = 1; n =

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 09:53:29AM +0200, c. wrote: > ... > Could you please check-in your versio of optim to the SVN? > the current version of leasqr is totally unusable to me, > even just > > "demo leasqr" > > fails and erases the contents of the global workspace But this version was already

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c .
On 29 Jun 2011, at 09:16, Olaf Till wrote: > I'm not ready, but: > > Your example with cell2cell works for me, too: is your version of cell2cell the same as in the repository? > octave:5> function prova () >> m = 1; n = 1; >> plabels = cell2cell (num2cell ((1:n).'), 1); >> m >> endfunction > o

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c .
Hi, Thanks for the quick reply! On 29 Jun 2011, at 08:59, Olaf Till wrote: > Please wait a minute. > > In SVN some days ago I had already removed any usage of "cell2cell" in > the optim package, including leasqr (replaced it by num2cell). And > your example with leasqr works for me. OK, I will

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 08:59:16AM +0200, Olaf Till wrote: > On Wed, Jun 29, 2011 at 12:06:14AM +0200, Carlo de Falco wrote: > > > > On 28 Jun 2011, at 18:06, Carlo de Falco wrote: > > > > > Hi, > > > > > > I am posting this to both Octave and Octave-Forge as I think this > > > problem encounte

Re: [OctDev] using leasqr with developement version

2011-06-28 Thread Olaf Till
On Wed, Jun 29, 2011 at 12:06:14AM +0200, Carlo de Falco wrote: > > On 28 Jun 2011, at 18:06, Carlo de Falco wrote: > > > Hi, > > > > I am posting this to both Octave and Octave-Forge as I think this > > problem encountered while running a function from the 'optim' package > > actually exposes

Re: [OctDev] using leasqr with developement version

2011-06-28 Thread Carlo de Falco
On 28 Jun 2011, at 18:06, Carlo de Falco wrote: > Hi, > > I am posting this to both Octave and Octave-Forge as I think this > problem encountered while running a function from the 'optim' package > actually exposes some bug in Octave itself. > If others can confirm this behaviour 'll try to be