src/loc.rs

branch
dev
changeset 85
f2fc6115b897
parent 82
981069ef919b
--- a/src/loc.rs	Tue Dec 31 23:34:47 2024 -0500
+++ b/src/loc.rs	Tue Dec 31 23:49:09 2024 -0500
@@ -706,8 +706,6 @@
 impl<F : Float, const N : usize> Linear<Loc<F, N>> for Loc<F, N> { }
 
 impl<F : Float, const N : usize> AXPY<F, Loc<F, N>> for Loc<F, N> {
-    type Owned = Self;
-
     #[inline]
     fn add_mul<I : Instance<Loc<F, N>>>(mut self, α : F, x : I, β : F) -> Self {
         self.axpy(α, x, β);
@@ -731,7 +729,7 @@
     }
 
     #[inline]
-    fn similar_origin(&self) -> Self::Owned {
+    fn similar_origin(&self) -> Self {
         Self::ORIGIN
     }
 

mercurial