File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments