From: MorellThomas Date: Thu, 23 May 2024 08:19:42 +0000 (+0200) Subject: Fix PaSiMap not having the eigenvalues saved X-Git-Tag: Release_2_11_4_0~31^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e88c8b60b5e45858dbce89e8764cc6241f06fc3d;p=jalview.git Fix PaSiMap not having the eigenvalues saved --- 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; } }