Skip to content

Commit b8280e7

Browse files
committed
version number
1 parent 31630dc commit b8280e7

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lazy val commonSettings = Seq(
33
name := "Princess",
44
organization := "uuverifiers",
5-
version := "2022-07-01",
5+
version := "2022-11-03",
66
homepage := Some(url("https://philipp.ruemmer.org/princess.shtml")),
77
licenses := Seq("BSD-3-Clause" -> url("https://opensource.org/licenses/BSD-3-Clause")),
88
scmInfo := Some(ScmInfo(
@@ -42,7 +42,7 @@ lazy val commonSettings = Seq(
4242
),
4343
description := "Princess is a theorem prover (aka SMT Solver) for Presburger arithmetic, uninterpreted predicates, and various other theories.",
4444
scalaVersion := "2.11.12",
45-
crossScalaVersions := Seq("2.11.12", "2.12.16"),
45+
crossScalaVersions := Seq("2.11.12", "2.12.17"),
4646
fork in run := true,
4747
cancelable in Global := true,
4848
publishTo := Some(Resolver.file("file", new File( "/tmp/shared-repo" )) )
@@ -93,7 +93,7 @@ lazy val root = (project in file(".")).
9393
"-language:implicitConversions,postfixOps,reflectiveCalls"),
9494
scalacOptions += (scalaVersion map { sv => sv match {
9595
case "2.11.12" => "-optimise"
96-
case "2.12.16" => "-opt:_"
96+
case "2.12.17" => "-opt:_"
9797
}}).value,
9898
//
9999
libraryDependencies +=

src/ap/CmdlMain.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import ap.util.{Debug, Seqs, Timeout}
5050

5151
object CmdlMain {
5252

53-
val version = "unstable"
53+
val version = "2022-11-03"
5454

5555
/**
5656
* Flag to enable stack traces being fully printed, for problems

src/ap/theories/ExtArray.scala

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ object ExtArray {
6464

6565
private val instances = new MHashMap[(Seq[Sort], Sort), ExtArray]
6666

67+
/**
68+
* Get a unique instance of the array theory with the given index
69+
* and element sorts.
70+
*/
6771
def apply(indexSorts : Seq[Sort], objSort : Sort) : ExtArray = synchronized {
6872
instances.getOrElseUpdate((indexSorts, objSort),
6973
new ExtArray(indexSorts, objSort))
@@ -266,8 +270,8 @@ object ExtArray {
266270
/**
267271
* Theory of extensional arrays.
268272
*/
269-
class ExtArray private (val indexSorts : Seq[Sort],
270-
val objSort : Sort) extends Theory {
273+
class ExtArray (val indexSorts : Seq[Sort],
274+
val objSort : Sort) extends Theory {
271275
import ExtArray.{AC, AbstractArray}
272276

273277
private val infiniteIndex = indexSorts exists (_.cardinality.isEmpty)

0 commit comments

Comments
 (0)