Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use vector for dynamic memory in sample (closes #612)#616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@nathan-russell
Copy link
Contributor

This replaces the use ofalloca,Calloc, andFree withstd::vector.

LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Great!

@@ -1,8 +1,13 @@
2016-12-13 Nathan Russell <russell.nr2012@gmail.com>
2016-12-14 Nathan Russell <russell.nr2012@gmail.com>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yup.


// In order to mirror the behavior of `base::sample`
// as closely as possible, this file contains adaptations
#include<vector>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Code below looks good. I trust the tests...

nathan-russell reacted with thumbs up emoji
@codecov-io
Copy link

Current coverage is 62.42% (diff: 100%)

Merging#616 intomaster will not change coverage

@@             master       #616   diff @@==========================================  Files            69         69            Lines          4798       4798            Methods           0          0            Messages          0          0            Branches          0          0          ==========================================  Hits           2995       2995            Misses         1803       1803            Partials          0          0

Powered byCodecov. Last update2a0d5b3...0e38823

@eddelbuetteleddelbuettel merged commite4ca728 intoRcppCore:masterDec 14, 2016
@nathan-russellnathan-russell deleted the bugfix/sample-v2 branchApril 23, 2017 23:11
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@eddelbuetteleddelbuetteleddelbuettel approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@nathan-russell@codecov-io@jeroen@eddelbuettel@kevinushey

[8]ページ先頭

©2009-2025 Movatter.jp