Skip to content
Snippets Groups Projects
Commit 20d2dd6e authored by Philippe Suter's avatar Philippe Suter Committed by Etienne Kneuss
Browse files

`max` is better for fairness

parent 8db71d9b
No related branches found
No related tags found
No related merge requests found
...@@ -271,7 +271,7 @@ class FairZ3Solver(context : LeonContext) ...@@ -271,7 +271,7 @@ class FairZ3Solver(context : LeonContext)
// It's better to simply take the min of the generations. // It's better to simply take the min of the generations.
// assert(exGen == gen, "Mixing the same id "+id+" with various generations "+ exGen+" and "+gen) // assert(exGen == gen, "Mixing the same id "+id+" with various generations "+ exGen+" and "+gen)
val minGen = gen min exGen val minGen = gen max exGen
blockersInfo(id) = ((minGen, origGen, z3ast, fis++exFis)) blockersInfo(id) = ((minGen, origGen, z3ast, fis++exFis))
case None => case None =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment