Skip to content

Commit

Permalink
Oops, still wasn't fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
finegeometer committed Jul 22, 2019
1 parent 1a96d4d commit cca2f0b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -61,7 +61,7 @@ impl<N: Scalar, X: Space, A: Space, B: Space> Linear<N, X, (A, B)> where
<(A, B) as Space>::Dim: na::DimSub<B::Dim, Output = A::Dim>,
{
pub fn first_output(self) -> Linear<N, X, A> {
Linear(self.0.remove_fixed_rows::<B::Dim>(B::Dim::dim()))
Linear(self.0.remove_fixed_rows::<B::Dim>(A::Dim::dim()))
}
pub fn second_output(self) -> Linear<N, X, B> {
Linear(self.0.remove_fixed_rows::<A::Dim>(0))
Expand All @@ -86,7 +86,7 @@ impl<N: Scalar, X: Space, A: Space, B: Space> Linear<N, (A, B), X> where
<(A, B) as Space>::Dim: na::DimSub<B::Dim, Output = A::Dim>,
{
pub fn first_input(self) -> Linear<N, A, X> {
Linear(self.0.remove_fixed_columns::<B::Dim>(B::Dim::dim()))
Linear(self.0.remove_fixed_columns::<B::Dim>(A::Dim::dim()))
}
pub fn second_input(self) -> Linear<N, B, X> {
Linear(self.0.remove_fixed_columns::<A::Dim>(0))
Expand Down

0 comments on commit cca2f0b

Please sign in to comment.