[R] demo(nlm) error under R 0.99.0

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Feb 9 10:00:38 CET 2000


Göran Broström <gb at stat.umu.se> writes:

> On 9 Feb 2000, Peter Dalgaard BSA wrote:
> 
> > A nasty little bug in uncmin.c: in line 1820, change i++ to j++ !
> 
> Peter, in my version of uncmin.c, line 1820 contains  ++i, not i++
> Should it be changed to j++ or ++j? 
> 
> Or, wait; are j++ and ++j equivalent in this context? 
> (This turned out to be a question for C-help rather than R-help, I guess.)

They're the same when you don't use the value of the operation (and I
always write them the other way round...).

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list