[Rd] [Fwd: behavior of L-BFGS-B with trivial function triggers bug in stats4::mle]
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed Aug 15 21:40:02 CEST 2007
Ben Bolker wrote:
> Prof Brian Ripley wrote:
>
>> On Tue, 14 Aug 2007, Peter Dalgaard wrote:
>>
>>
>>> Ben Bolker wrote:
>>>
>>>> Petr Savicky <savicky <at> cs.cas.cz> writes:
>>>>
>>>>
>>>>
>>>>
>>>>> Could you also include a script, which reproduces the problem? Just
>>>>> to see under which conditions the problem occurs and how it
>>>>> looks like exactly.
>>>>>
>>>>> Petr Savicky.
>>>>>
>>>>>
>>>>>
>>>> The original post has such a script, just under the dashed line
>>>> and above the diff/patch. Sorry if I wasn't clear about that.
>>>>
>>>>
>>>>
>>> Patch inserted in r-devel now.
>>>
>> And all optim() methods now work on zero-length 'par'.
>>
>>
> So my patch would now seem to be unnecessary -- keep it for
> belt-and-suspenders purposes,
> or remove it to minimize code complexity?
>
>
Isn't broken, do not fix. We can always call it an optimization,
avoiding unnecessary calls to optim ;-) ....
More information about the R-devel
mailing list