Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matekelemen committed Aug 5, 2024
1 parent 69dc354 commit 2fa35b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mcgs/mcgs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ struct SolveSettings
/// a diagonal matrix @f$d_{ij}@f$ and strictly upper triangular matrix @f$u_{ij}@f$
/// (@f$ a_{ij} = l_{ij} + d_{ij} + u_{ij} @f$), this function computes
/// @f[
/// x_j^{k+1} = (1 - \omega)x_j^k + @frac{\omega}{a_{jj}} (b_j - \sum_{i<j}{a_{ji} x_i^{k+1}} - \sum_{i<j}{a_{ji} x_i^k})
/// x_j^{k+1} = (1 - \omega)x_j^k + \frac{\omega}{a_{jj}} (b_j - \sum_{i<j}{a_{ji} x_i^{k+1}} - \sum_{i<j}{a_{ji} x_i^k})
/// @f]
/// where @f$\omega@f$ is a user-selected relaxation parameter.
///
Expand Down Expand Up @@ -452,7 +452,7 @@ int solve(TValue* pSolution,
/// a diagonal matrix @f$d_{ij}@f$ and strictly upper triangular matrix @f$u_{ij}@f$
/// (@f$ a_{ij} = l_{ij} + d_{ij} + u_{ij} @f$), this function computes
/// @f[
/// x_j^{k+1} = (1 - \omega)x_j^k + @frac{\omega}{a_{jj}} (b_j - \sum_{i<j}{a_{ji} x_i^{k+1}} - \sum_{i<j}{a_{ji} x_i^k})
/// x_j^{k+1} = (1 - \omega)x_j^k + \frac{\omega}{a_{jj}} (b_j - \sum_{i<j}{a_{ji} x_i^{k+1}} - \sum_{i<j}{a_{ji} x_i^k})
/// @f]
/// where @f$\omega@f$ is a user-selected relaxation parameter.
///
Expand Down

0 comments on commit 2fa35b7

Please sign in to comment.