From 95a7bcf9149a1535a2a500babccfd4e79de92248 Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Mon, 24 Apr 2023 11:04:46 +0100
Subject: [PATCH] Tidyups

---
 .gitignore | 1 +
 mpiuse.c   | 6 +++---
 mpiuse.h   | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index afa4450..753ecb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 swiftmpistepsim
+swiftmpifakestepsim
 *.o
 *~
diff --git a/mpiuse.c b/mpiuse.c
index ab6a031..7e5b7d7 100644
--- a/mpiuse.c
+++ b/mpiuse.c
@@ -291,14 +291,14 @@ static double gauss_rand_upper(void) {
  *             selection this is just a scale factor of the values.
  * @param random whether to use random sizes.
  * @param seed the random seed, use same for fixed sequences.
- * @param uniform whether to use a uniform distribution other gaussian, unless
+ * @param uniform whether to use a uniform distribution or gaussian, unless
  *                cdf is defined, in which case this parameter is ignored.
  * @param cdf text file containing a normalized CDF to use as a basis for
  *              inverse transform sampling of the randoms. NULL for no file.
- * @param odata text file containing a values representing a occurences of the
+ * @param odata text file containing a values representing occurences of the
  *              expected distribution -- converted into a normalised CDF to
  *              use as a basis for inverse transform sampling of the
- *              randoms. NULL for no file. Not use if cdf is not NULL.
+ *              randoms. NULL for no file. Not used if cdf is not NULL.
  */
 void mpiuse_log_generate(int nr_nodes, int nr_logs, int size, int random,
                          long int seed, int uniform, const char *cdf,
diff --git a/mpiuse.h b/mpiuse.h
index a138a72..71d8982 100644
--- a/mpiuse.h
+++ b/mpiuse.h
@@ -86,8 +86,8 @@ struct mpiuse_log_entry {
 
 /* Flags for the types of request when generating fakes. */
 #ifndef SEND_TYPE
-#define SEND_TYPE 22
-#define RECV_TYPE 23
+#define SEND_TYPE 25
+#define RECV_TYPE 26
 #define NO_SUBTYPE 0
 #endif
 
-- 
GitLab