Skip to content

Commit c1575f8

Browse files
committed
fix
1 parent c353884 commit c1575f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cp-algo/linalg/matrix.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ namespace cp_algo::linalg {
245245
return std::nullopt;
246246
} else {
247247
return std::array{
248-
sols.submatrix(std::views::drop(sols.n() - t.m()), std::views::all),
249-
sols.submatrix(std::views::take(sols.n() - t.m()), std::views::all)
248+
sols.submatrix(std::views::drop(sols.n() - t.m()), std::views::take(m())),
249+
sols.submatrix(std::views::take(sols.n() - t.m()), std::views::take(m()))
250250
};
251251
}
252252
}

0 commit comments

Comments
 (0)