From 5790863111d8371a8e563bc5e759f0fb58b3b21d Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 18 Sep 2024 11:32:52 -0700 Subject: [PATCH] fix Time from Planar64 --- src/integer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integer.rs b/src/integer.rs index fe4fca1..4098e99 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -49,7 +49,7 @@ impl Time{ impl From for Time{ #[inline] fn from(value:Planar64)->Self{ - Time(((value*Planar64::raw(1_000_000_000))>>32).fix_1().to_raw()) + Time((value*Planar64::raw(1_000_000_000)).fix_1().to_raw()) } } impl From> for Time