-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ntru.py: updated doctests. Changed *_parameters.homogeneous to _homog…
…eneous Doctests were changed in accordance with the updated homogeneity checks. Previously, the +1 on line 261 of lwe_primal.py was removed, with the assumption that a homogeneous instance would not need the additional dimension. This was a mistake, and improperly gimping the dimension optimization functionality for homogeneous instances. This commit rectifies this mistake by updating the doctests to be in line with the more efficient implementation.
- Loading branch information
1 parent
0dcafdc
commit e5627ea
Showing
4 changed files
with
12 additions
and
12 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
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
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
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