3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-06 10:25:17 +00:00

fix inverted logic of is-linear, #9311

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2026-04-22 09:22:19 -07:00
parent 87e45accd9
commit c6b595d981

View file

@ -321,7 +321,7 @@ namespace euf {
if (!is_app(t))
return false;
for (auto arg : *to_app(t))
num_values += m.is_value(arg) ? 1 : 0;
num_values += m.is_value(arg) ? 0 : 1;
return num_values <= 1;
}