diff options
author | Pjotr Prins | 2020-09-26 11:25:04 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-09-26 11:25:04 +0100 |
commit | 519c4d005098dec382344514a837d49c164a5372 (patch) | |
tree | f68f35311cdf8856b1aade0fdfae256d93e4a4cb /src/param.cpp | |
parent | 7286000660c54c9989f49164ca4800d687b7a315 (diff) | |
download | pangemma-519c4d005098dec382344514a837d49c164a5372.tar.gz |
Comments added
Diffstat (limited to 'src/param.cpp')
-rw-r--r-- | src/param.cpp | 1 |
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 = |