Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse seq_along() instead of seq(along=) #6
Conversation
|
Good ones. I like |
|
Oh, I didn't know that. I will suggest using Rcpp Attributes to rstan community. |
d9301b5
into
eddelbuettel:master
Summary:
seq(along=...)is replaced withseq_along(...)inR/cxxfunction.RandR/cfunction.R.Intended Effect:
No effect on functionality is expected.
seq_along()may be a bit faster. I just wanted to suppress the warning fromcxxfunction()in the environment thatoptions(warnPartialMatchArgs=TRUE)is set.