Skip to content

Conversation

@Atul9
Copy link

@Atul9 Atul9 commented Sep 28, 2019

No description provided.

condition
.get_value()
.map(|b| if b { x * &C::Base::BETA } else { x })
});
Copy link

Choose a reason for hiding this comment

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

This is not my project, but.. I'll note that particular change harms the semantics. And cargo fmt PRs to mathematical code often create problems.. unless manually pruned.

That said, this PR looks overall less damaging than most cargo fmt PRs to mathematical code, so maybe the authors code close to cargo fmt anyways.

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