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 upupdate sample.h for sort and sort_index interface change #111
Comments
|
I have this |
|
Too late, bud. |
|
Blah. |
|
Sorry 'bout that but as they tell you in primary school, don't work in isolation in the dark -- file an issue! In all seriousness I think I added |
|
Normally claiming on SO was sufficient before: |
|
Agreed -- that was a case of bad timing. It fell into the gap of "getting up at home to get to work" and "sitting down at work". In the meantime, I fixed it on the laptop. |
|
Oh well, moving on to other things. I'll stash the changes. FYI, |
|
That too is in my commit. |
|
And if you could, please a T sample(const T &x, const int size, const bool replace, arma::vec &prob_) |
|
If only you and I had something like a slack channel ... Again, too bad about the wasted energy but c'est la vie |
|
Line 59, correct? |
|
My editor has it on line 62: This is the function: template <class T>
T sample(const T &x, const int size, const bool replace, arma::vec &prob_){
return sample_main(x, size, replace, prob_);
} |
|
Yes, sorry, me too. Magit 'diff unstaged' shows the diff output and 59 is the first line of the diff segment. My operator error. Your error was throwing a random line out. GH is good at links with lines ... I guess the only real fail here is that you should have opened an upstream ticket (here) when you filed the client ticket you filed for gmwm |
|
@eddelbuettel: Cost of a speedy response to raise flag / highlight a change and ensure it made it into the commit. And, aye, not filing a ticket here was an oversight on my part since the code base has a local copy of the sampling class vs. calling it within the RcppArmadillo namespace. |
No description provided.