Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #24

Merged
merged 1 commit into from
Aug 27, 2015
Merged

Cleanup #24

merged 1 commit into from
Aug 27, 2015

Conversation

dcousens
Copy link
Contributor

Just some light clean up.

var hBit = h.testBit(i)
var eBit = e.testBit(i)

if (hBit != eBit) {
R = R.twice()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Putting the R calculation here gives clearer visibility that the testBit operations done above are separate, and non-reliant on it.

@jprichardson
Copy link
Member

Do you think that we have enough tests here to be sure that there won't be a regression?

@dcousens
Copy link
Contributor Author

@jprichardson I believe so yes, but what part are you concerned with? There has been no functional change here, only syntactical clean up?

jprichardson added a commit that referenced this pull request Aug 27, 2015
@jprichardson jprichardson merged commit 1286298 into master Aug 27, 2015
@dcousens dcousens deleted the clean branch August 27, 2015 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants