aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-09-16 11:28:00 +0200
committerAnton Khirnov <anton@khirnov.net>2022-09-16 11:28:00 +0200
commit7ef2731b9f60f18f58c24bfe5140c48ec3a43d0b (patch)
treedbf47531bbcc177b442baec993369054b24d0ff3
parent9c32be19bf768706a874aa68d7e90964d1d80f08 (diff)
bicgstab: fix some typos in documentation
-rw-r--r--bicgstab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bicgstab.h b/bicgstab.h
index 249da18..f7eeee6 100644
--- a/bicgstab.h
+++ b/bicgstab.h
@@ -24,7 +24,7 @@
typedef struct BiCGStabContext BiCGStabContext;
/**
- * Allocate and initialize the solver for the NxN system.
+ * Allocate and initialize the solver for an NxN system.
*/
int tdi_bicgstab_context_alloc(BiCGStabContext **ctx, int N, int maxiter);
@@ -35,7 +35,7 @@ void tdi_bicgstab_context_free(BiCGStabContext **ctx);
/**
* Initialise the solver with the given preconditioner matrix. This function
- * may be any number of times on a given solver context.
+ * may be called any number of times on a given solver context.
*/
int tdi_bicgstab_init(BiCGStabContext *ctx, const double *k, const double *x0);