3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

Merge pull request #1478 from waywardmonkeys/unnecessary-value-param-fixes

Remove unnecessary value parameter copies.
This commit is contained in:
Nikolaj Bjorner 2018-02-09 02:20:47 -08:00 committed by GitHub
commit 2b847478a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 40 deletions

View file

@ -725,7 +725,7 @@ namespace Duality {
/** Determines the value in the counterexample of a symbol occurring in the transformer formula of
* a given edge. */
Term Eval(Edge *e, Term t);
Term Eval(Edge *e, const Term& t);
/** Return the fact derived at node p in a counterexample. */

View file

@ -1494,7 +1494,7 @@ namespace Duality {
/** Determines the value in the counterexample of a symbol occurring in the transformer formula of
* a given edge. */
RPFP::Term RPFP::Eval(Edge *e, Term t)
RPFP::Term RPFP::Eval(Edge *e, const Term& t)
{
Term tl = Localize(e, t);
return dualModel.eval(tl);