aboutsummaryrefslogtreecommitdiff
path: root/src/param.cpp
diff options
context:
space:
mode:
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 =