From 7a68d13eb39f565c2e3a0e0ca94d6331bc9add6d Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sun, 6 Jul 2025 00:38:14 +0100 Subject: [PATCH] Change transpose method to take an immutable reference --- src/frame/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frame/base.rs b/src/frame/base.rs index 2bfddb5..5b485a4 100644 --- a/src/frame/base.rs +++ b/src/frame/base.rs @@ -473,7 +473,7 @@ impl Frame { /// Returns a new `Matrix` that is the transpose of the current frame's matrix. - pub fn transpose(&mut self) -> Matrix { + pub fn transpose(&self) -> Matrix { self.matrix.transpose() }