Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeho committed Mar 12, 2024
1 parent d2bf94f commit f119924
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/scala/fhetest/Generate/LibConfigGenerator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ case class ValidLibConfigGenerator(encType: ENC_TYPE)
Some(
Random.between(
1,
math.pow(2, randomFirstModSize % randomEncParams.mulDepth) + 1,
math.pow(
2,
randomFirstModSize % (randomEncParams.mulDepth + 1) + 1,
),
),
)
}
Expand Down

0 comments on commit f119924

Please sign in to comment.