Skip to content

Commit

Permalink
ValidFilter: fix minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinshelly committed Mar 7, 2024
1 parent 705fc8b commit 851019e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/fhetest/Generate/ValidFilter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def ringDimIsPowerOfTwo(n: Int): Boolean = (n > 0) && ((n & (n - 1)) == 0)

def plainModIsPositive(m: Int): Boolean = m > 0

def plainModEnableBatching(m: Int, n: Int): Boolean = (m % n) == 1
def plainModEnableBatching(m: Int, n: Int): Boolean = (m % (2 * n)) == 1

def lenIsLessThanRingDim(len: Int, n: Int, scheme: Scheme): Boolean =
scheme match {
Expand Down

0 comments on commit 851019e

Please sign in to comment.