Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added into_vec method for Matrix #3

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
2 changes: 1 addition & 1 deletion src/base/matrix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2370,7 +2370,7 @@ where

for i in 0..num_rows {
for j in 0..num_columns {
// loop counters vary in the matrix size intervals
// Loop counters vary in the matrix size intervals
alexandruradovici marked this conversation as resolved.
Show resolved Hide resolved
// get_unchecked is generally unsafe, but optimizes the code by not performing bound tests
resulted_vector.push(unsafe { self.get_unchecked((i, j)) }.clone());
alexandruradovici marked this conversation as resolved.
Show resolved Hide resolved
}
Expand Down