From 519c4d005098dec382344514a837d49c164a5372 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 26 Sep 2020 11:25:04 +0100 Subject: Comments added --- src/param.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/param.cpp') 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 &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 = -- cgit v1.2.3