Skip to content

Commit

Permalink
impls::ops: use Linear instead of Self (accepted due to compiler …
Browse files Browse the repository at this point in the history
…bug)
  • Loading branch information
Centril committed Feb 24, 2020
1 parent cca2f0b commit d343746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impls/ops.rs
Expand Up @@ -71,7 +71,7 @@ impl<N: Scalar + Zero + One + ClosedAdd + ClosedMul, A: Space, B: Space, C: Spac
{
type Output = Linear<N, A, C>;
fn mul(self, other: Linear<N, A, B>) -> Linear<N, A, C> {
Self(self.0 * other.0)
Linear(self.0 * other.0)
}
}

Expand Down

0 comments on commit d343746

Please sign in to comment.