3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

Fix some typos. (#7115)

This commit is contained in:
Bruce Mitchener 2024-02-08 14:06:43 +07:00 committed by GitHub
parent 937d4aa8f4
commit 53f89a81c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 33 additions and 33 deletions

View file

@ -343,7 +343,7 @@ namespace lp {
solver->add_constraint(&c);
}
void create_equality_contraint_for_var(column* col, bound * b, lar_solver *solver) {
void create_equality_constraint_for_var(column* col, bound * b, lar_solver *solver) {
lar_constraint c(EQ, b->m_fixed_value);
var_index i = solver->add_var(col->m_name);
c.add_variable_to_constraint(i, numeric_traits<T>::one());
@ -366,7 +366,7 @@ namespace lp {
create_upper_constraint_for_var(col, b, solver);
}
if (b->m_value_is_fixed) {
create_equality_contraint_for_var(col, b, solver);
create_equality_constraint_for_var(col, b, solver);
}
}
}