[Rd] behavior of L-BFGS-B with trivial function triggers bug in stats4::mle

2007-07-30 Thread Ben Bolker
With the exception of "L-BFGS-B", all of the other optim() methods return the value of the function when they are given a trivial function (i.e., one with no variable arguments) to optimize. I don't think this is a "bug" in L-BFGS-B (more like a response to an undefined condition), but it lead

[Rd] behavior of L-BFGS-B with trivial function triggers bug in stats4::mle

2007-07-30 Thread Ben Bolker
[sent this last night, may have bounced, resending] With R 2.5.1 ... "L-BFGS-B" behaves differently from all of the other optim() methods, which return the value of the function when they are given a trivial function (i.e., one with no variable arguments) to optimize. I don't think this i