Avoid match error in isSatWithAssertWhileSat

Issue #34 resolved
Tony Sloane created an issue

In isSatWithAssertWhileSat the terms are passed as a Seq but matched as a list using Nil and ::, so if you pass another kind of Seq such as a Vector it crashes with a match error:

xb match {
   case Nil ⇒ ( result, count )
   case ( first, c ) :: l ⇒
       |= ( first ) match {

I wouldn’t like to change the interface to just take a list since it’s convenient to be able to pass in other things.

Comments (1)

  1. Log in to comment