mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Change transpose method to take an immutable reference
This commit is contained in:
parent
f39c678192
commit
7a68d13eb3
@ -473,7 +473,7 @@ impl<T: Clone + PartialEq> Frame<T> {
|
||||
|
||||
|
||||
/// Returns a new `Matrix` that is the transpose of the current frame's matrix.
|
||||
pub fn transpose(&mut self) -> Matrix<T> {
|
||||
pub fn transpose(&self) -> Matrix<T> {
|
||||
self.matrix.transpose()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user