Skip to content

Commit

Permalink
fix minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinshelly committed Mar 6, 2024
1 parent 000b5e7 commit 071d501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/fhetest/Generate/AbsProgram.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ case class AbsProgram(
plainModIsPositive(encParams.plainMod) &&
plainModEnableBatching(encParams.plainMod, encParams.ringDim) &&
lenIsLessThanRingDim(len, encParams.ringDim, libConfig.scheme) &&
boundIsLessThanPowerOfModSize(bound, libConfig.firstModSize)
boundIsLessThanPowerOfModSize(bound, libConfig.firstModSize) &&
boundIsLessThanPlainMod(bound, encParams.plainMod)

def stringify: String = absStmts.map(_.stringify()).mkString("")

Expand Down

0 comments on commit 071d501

Please sign in to comment.