Skip to content

Commit

Permalink
Made theta compatible with current benchmark config options
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Nov 12, 2023
1 parent e7c290b commit 8689303
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class XcfaCli(private val args: Array<String>) {
var backend: Backend = Backend.CEGAR

@Parameter(names = ["--strategy"], description = "Execution strategy")
var strategy: Strategy = Strategy.DIRECT
var strategy: Strategy = Strategy.PORTFOLIO

@Parameter(names = ["--portfolio"],
description = "Portfolio type (only valid with --strategy PORTFOLIO)")
Expand Down Expand Up @@ -271,7 +271,7 @@ class XcfaCli(private val args: Array<String>) {

private fun runPortfolio(xcfa: XCFA, explicitProperty: ErrorDetection,
logger: ConsoleLogger, parseContext: ParseContext, debug: Boolean = false): SafetyResult<*, *> {
val portfolioDescriptor = portfolio
val portfolioDescriptor = portfolio.toString().lowercase() + ".kts"
val kotlinEngine: ScriptEngine = ScriptEngineManager().getEngineByExtension("kts")
return try {
val bindings: Bindings = kotlinEngine.createBindings()
Expand Down

0 comments on commit 8689303

Please sign in to comment.