Skip to content

Commit abc6934

Browse files
committed
typo fixes
1 parent 840405d commit abc6934

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/apps/gie.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,11 +1164,11 @@ static int expect(const char *args) {
11641164
if (!(d <= T.tolerance))
11651165
return expect_message(d, args);
11661166

1167-
// Somewhat arbitrary temporal theshold but should be fine for all intended
1167+
// Somewhat arbitrary temporal threshold but should be fine for all intended
11681168
// purposes.
1169-
constexpr double TEMPORAL_THESHOLD_IN_YEAR = 1e-4;
1169+
constexpr double TEMPORAL_THRESHOLD_IN_YEAR = 1e-4;
11701170
if (T.dimensions_given == 4 &&
1171-
std::fabs(ce.v[3] - co.v[3]) > TEMPORAL_THESHOLD_IN_YEAR) {
1171+
std::fabs(ce.v[3] - co.v[3]) > TEMPORAL_THRESHOLD_IN_YEAR) {
11721172
another_failure();
11731173

11741174
if (T.verbosity < 0)
@@ -1182,7 +1182,7 @@ static int expect(const char *args) {
11821182
fprintf(T.fout, " got: %.12f %.12f %.9f %.9f\n",
11831183
T.b.v[0], T.b.v[1], T.b.v[2], T.b.v[3]);
11841184
fprintf(T.fout, " deviation: %.4f year, %.4f maximum allowed\n",
1185-
std::fabs(ce.v[3] - co.v[3]), TEMPORAL_THESHOLD_IN_YEAR);
1185+
std::fabs(ce.v[3] - co.v[3]), TEMPORAL_THRESHOLD_IN_YEAR);
11861186
return 1;
11871187
}
11881188

0 commit comments

Comments
 (0)