Skip to content
Snippets Groups Projects
Commit 7cf4218b authored by Armando Luiz Nicolini Delgado's avatar Armando Luiz Nicolini Delgado :nerd:
Browse files

/* alteração no comentário da geração de matriz diagonalmente dominante */

parent 19acd35a
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ void iniSisLin (SistLinear_t *SL, tipoSistLinear_t tipo, real_t coef_max)
SL->b[combDst] = SL->b[combSrc1] + SL->b[combSrc2];
}
else if (tipo == diagDominante) {
// aumenta o expoente dos termos da diagonal principal
// aumenta o valor dos termos da diagonal principal
for (unsigned int i=0; i<n; ++i) {
real_t soma = 0.0;
for (unsigned int j=0; j < i; ++j) soma += SL->A[i][j];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment