aboutsummaryrefslogtreecommitdiff
path: root/src/param.cpp
diff options
context:
space:
mode:
authorPjotr Prins2020-09-26 11:25:04 +0100
committerPjotr Prins2020-09-26 11:25:04 +0100
commit519c4d005098dec382344514a837d49c164a5372 (patch)
treef68f35311cdf8856b1aade0fdfae256d93e4a4cb /src/param.cpp
parent7286000660c54c9989f49164ca4800d687b7a315 (diff)
downloadpangemma-519c4d005098dec382344514a837d49c164a5372.tar.gz
Comments added
Diffstat (limited to 'src/param.cpp')
-rw-r--r--src/param.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/param.cpp b/src/param.cpp
index 31b7382..cc4290c 100644
--- a/src/param.cpp
+++ b/src/param.cpp
@@ -1765,6 +1765,7 @@ void PARAM::CalcS(const map<string, double> &mapRS2wA,
gsl_matrix_view Ksub =
gsl_matrix_submatrix(K, 0, i * ni_test, ni_test, ni_test);
CenterMatrix(&Ksub.matrix);
+ // Scale the matrix G such that the mean diagonal = 1.
ScaleMatrix(&Ksub.matrix);
gsl_matrix_view Asub =