Commit df2e0b2b authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Formatting

parent 7d1cbf8e
......@@ -60,8 +60,8 @@ int main(int argc, char *argv[]) {
}
if (error > 0) {
printf("%2d/%d: x= %f exp(x)= %e approx_exp(x)=%e abs=%e rel=%e\n", i, error, x,
exp_correct, exp_approx, abs, rel);
printf("%2d/%d: x= %f exp(x)= %e approx_exp(x)=%e abs=%e rel=%e\n", i,
error, x, exp_correct, exp_approx, abs, rel);
return 1;
}
}
......
......@@ -205,18 +205,18 @@ int main(int argc, char *argv[]) {
order. Variation is found when optimizing, so we have two possible
outcomes... */
if (cells[44].nvert == 5) {
assert(cells[44].nvert == 5);
assert(cells[44].ngbs[0] == 43);
assert(cells[44].ngbs[1] == 34);
assert(cells[44].ngbs[2] == 45);
assert(cells[44].ngbs[3] == 55);
assert(cells[44].nvert == 5);
assert(cells[44].ngbs[0] == 43);
assert(cells[44].ngbs[1] == 34);
assert(cells[44].ngbs[2] == 45);
assert(cells[44].ngbs[3] == 55);
} else {
assert(cells[44].nvert == 4);
assert(cells[44].ngbs[0] == 34);
assert(cells[44].ngbs[1] == 45);
assert(cells[44].ngbs[2] == 54);
assert(cells[44].ngbs[3] == 43);
assert(cells[44].nvert == 4);
assert(cells[44].ngbs[0] == 34);
assert(cells[44].ngbs[1] == 45);
assert(cells[44].ngbs[2] == 54);
assert(cells[44].ngbs[3] == 43);
}
message("Done.");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment