We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e477160 + b18ae79 commit a17599dCopy full SHA for a17599d
src/main/scala/inox/evaluators/RecursiveEvaluator.scala
@@ -21,7 +21,7 @@ trait RecursiveEvaluator
21
lazy val ignoreContracts = options.findOptionOrDefault(optIgnoreContracts)
22
23
private def shift(b: BitSet, size: Int, i: Int): BitSet =
24
- b.map(_ + i).filter(bit => bit >= 1 && bit <= size)
+ b.filter(bit => bit + i >= 1 && bit + i <= size).map(_ + i)
25
26
protected def finiteSet(els: Iterable[Expr], tpe: Type): FiniteSet = {
27
FiniteSet(els.toSeq.distinct.sortBy(_.toString), tpe)
0 commit comments