diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2018-08-10 16:45:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-10 16:45:27 -0700 |
commit | 8a8d65e2fddf88bfbd6cc67d8738510feaea05e6 (patch) | |
tree | 946a8b2cc283f0da893640c2928cc86343a8b6be /src/main/driver_unified.cpp | |
parent | c9ad9015ac941f5fe5c99d7234fe74cbd40da030 (diff) |
Fix portfolio command executor for changes from #2240. (#2294)
Diffstat (limited to 'src/main/driver_unified.cpp')
-rw-r--r-- | src/main/driver_unified.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp index c29212c4f..390d83eba 100644 --- a/src/main/driver_unified.cpp +++ b/src/main/driver_unified.cpp @@ -233,12 +233,12 @@ int runCvc4(int argc, char* argv[], Options& opts) { // pick appropriate one if (useParallelExecutor) { - solver.reset(&threadOpts[0]); + solver.reset(new api::Solver(&threadOpts[0])); pExecutor = new CommandExecutorPortfolio(solver.get(), opts, threadOpts); } else { - solver.reset(&opts); + solver.reset(new api::Solver(&opts)); pExecutor = new CommandExecutor(solver.get(), opts); } # endif |