mirror of
https://github.com/Z3Prover/z3
synced 2025-11-05 13:56:03 +00:00
use copy, not set (used by constructor)
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3ae6853e6b
commit
604cfb09c5
1 changed files with 2 additions and 1 deletions
|
|
@ -163,7 +163,8 @@ namespace smt {
|
||||||
};
|
};
|
||||||
|
|
||||||
params_ref parallel::param_generator::apply_param_values(param_values const &pv) {
|
params_ref parallel::param_generator::apply_param_values(param_values const &pv) {
|
||||||
params_ref p = m_p;
|
params_ref p;
|
||||||
|
p.copy(m_p);
|
||||||
for (auto const &[k, v] : pv) {
|
for (auto const &[k, v] : pv) {
|
||||||
if (std::holds_alternative<unsigned_value>(v)) {
|
if (std::holds_alternative<unsigned_value>(v)) {
|
||||||
unsigned_value uv = std::get<unsigned_value>(v);
|
unsigned_value uv = std::get<unsigned_value>(v);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue