3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

Fix some spelling errors (mostly in comments).

This commit is contained in:
Florian Pigorsch 2018-10-20 17:07:41 +02:00
parent 880ce12e2d
commit 326bf401b9
121 changed files with 205 additions and 205 deletions

View file

@ -7,7 +7,7 @@
static bool build_instance(char const * filename, sat::solver& s, sat::local_search& local_search)
{
char line[16383];
// for temperally storage
// for temporary storage
std::ifstream infile(filename);
//if (infile == NULL) //linux
@ -28,7 +28,7 @@ static bool build_instance(char const * filename, sat::solver& s, sat::local_sea
sat::literal_vector lits;
// process objective function:
// read coefficents
// read coefficients
infile >> cur_term;
while (cur_term != 0) {
coefficients.push_back(cur_term);
@ -43,7 +43,7 @@ static bool build_instance(char const * filename, sat::solver& s, sat::local_sea
}
if (lits.size() != coefficients.size()) {
std::cout << "Objective function format error. They have different lenghts.\n";
std::cout << "Objective function format error. They have different lengths.\n";
return false;
}