-
-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: totalMassOfPDF == this->m_JointPDFSum by definition
Simplify computations avoiding duplicate work to compute same value for totalMassOfPDF that is already available from this->m_JointPDFSum. This also allows for simplifying loops and the use of std::for_each transforms Avoid unnecessary indexing by looping over vectors with range-based loops.
- Loading branch information
1 parent
762bd4c
commit 6eddf6c
Showing
1 changed file
with
21 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters