Skip to content

Commit

Permalink
fixed a case of a hanging pre-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
pruemmer committed Mar 19, 2024
1 parent a08805f commit 3740819
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/scala/lazabs/horn/acceleration/AbsGraph.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Copyright (c) 2011-2014 Filip Konecny
* 2022 Philipp Ruemmer
* 2022-2024 Philipp Ruemmer
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -31,6 +31,8 @@

package lazabs.horn.acceleration

import lazabs.GlobalParameters

import scala.collection.mutable.{ArrayBuffer, Buffer}

abstract class AbsGraph { thisGraph =>
Expand Down Expand Up @@ -190,6 +192,8 @@ abstract class AbsGraph { thisGraph =>
suff : List[Edge],
seen : Set[Node],
acc : Buffer[Seq[Edge]]) : Unit = {
GlobalParameters.get.timeoutChecker()

if (from == to)
acc += suff

Expand Down

0 comments on commit 3740819

Please sign in to comment.