Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parenthesize 2 * MaxEntries to prevent naive errors (#1856)
* Parenthesize 2 * MaxEntries to prevent naive errors Transcribing LargestReference mod 2*MaxEntries + 1 to C one of its offspring without parentheses around 2 * MaxEntries will produce an incorrect result. * Fix lint error (figure too wide) via creative variable renaming * Add parentheses to disambiguate further; prettify other spots
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 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