Displaying 3 results from an estimated 3 matches for "accpoint".
2006 Apr 21
5
optim "CG" bug w/patch proposal (PR#8786)
...-10622.32
$value -0.2346207 # should be 2!
optim(c(0.1,-0.1),f,method="CG",control=list(trace=0,type=2))
$par 3834.021 -2718.958
$value -0.0009983175 # should be 2!
Fix:
--- optim.c (Revision 37878)
+++ optim.c (Arbeitskopie)
@@ -970,7 +970,8 @@
if (!accpoint) {
steplength *= stepredn;
if (trace) Rprintf("*");
- }
+ } else
+ *Fmin = f;
}
} while (!(count ==...
2006 May 24
0
optim "CG" bug w/patch proposal (PR#8786)
...ue -0.0009983175 # should be 2!
>> >>>>
>> >>>> Fix:
>> >>>> --- optim.c (Revision 37878)
>> >>>> +++ optim.c (Arbeitskopie)
>> >>>> @@ -970,7 +970,8 @@
>> >>>> if (!accpoint) {
>> >>>> steplength *= stepredn;
>> >>>> if (trace) Rprintf("*");
>> >>>> - }
>> >>>> + } else
>> >>>> +...
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...---------------------------------------------------------
c89 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c optim.c -o optim.o
cc-1185 c89: WARNING File = optim.c, Line = 514
An enumerated type is mixed with another type.
accpoint = FALSE;
^
cc-1185 c89: WARNING File = optim.c, Line = 525
An enumerated type is mixed with another type.
accpoint = R_FINITE(f) &&
^
cc-1185 c89: WARNING File = optim.c, Line = 532
An enumerated type is mixed with...