From e88c8b60b5e45858dbce89e8764cc6241f06fc3d Mon Sep 17 00:00:00 2001 From: MorellThomas Date: Thu, 23 May 2024 10:19:42 +0200 Subject: [PATCH] Fix PaSiMap not having the eigenvalues saved --- src/jalview/math/Matrix.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/jalview/math/Matrix.java b/src/jalview/math/Matrix.java index 85d0db3..7ae4b94 100755 --- a/src/jalview/math/Matrix.java +++ b/src/jalview/math/Matrix.java @@ -1432,6 +1432,12 @@ public class Matrix implements MatrixI result[i][k--] = this.getValue(i,j); } } - return new Matrix(result); + MatrixI resultMatrix = new Matrix(result); + if (d != null) + resultMatrix.setD(d); + if (e != null) + resultMatrix.setE(e); + + return resultMatrix; } } -- 1.7.10.2