We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8eaaa7 commit 0fabfdeCopy full SHA for 0fabfde
src/processing/time/absolute.rs
@@ -37,6 +37,11 @@ impl GnssAbsoluteTime {
37
38
/// [Epoch] interpolation & correction attempt, into desired [TimeScale].
39
pub fn precise_epoch_correction(&self, t: Epoch, target: TimeScale) -> Option<Epoch> {
40
+ if t.time_scale == target {
41
+ // nothing to be done!
42
+ return Some(t);
43
+ }
44
+
45
if let Some(poly) = self
46
.polynomials
47
.iter()
0 commit comments