Skip to content

Commit

Permalink
Hacked together a fix for the variable selector
Browse files Browse the repository at this point in the history
  • Loading branch information
PBHTasche committed Jul 18, 2024
1 parent 78126d4 commit 247d324
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rewrite/vct/rewrite/rasi/AbstractProcess.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ case class AbstractProcess[G](obj: Expr[G]) {
explored ++= successor.successors
}

successor.removed_states(looping).factor_out(Set(starting_state))
// TODO: Special treatment for the scheduler? There must be a better algorithm for this...
if (obj.isInstanceOf[Null[G]])
successor.removed_states(looping + starting_state)
else successor
}

/** Tests if another small step can be executed without breaking the current
Expand Down

0 comments on commit 247d324

Please sign in to comment.