mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 12:59:26 +00:00
Change transpose method to take an immutable reference
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user