From 16a45a14e41a56a90daba005574f47b0baf0d83d Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Tue, 5 Jul 2016 19:08:21 +0100
Subject: [PATCH] Documentation

---
 src/single_io.c | 2 +-
 src/units.c     | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/single_io.c b/src/single_io.c
index ed29d9764d..85709e5f72 100644
--- a/src/single_io.c
+++ b/src/single_io.c
@@ -71,7 +71,7 @@ void readArrayBackEnd(hid_t grp, char* name, enum DATA_TYPE type, int N,
                       int dim, char* part_c, size_t partSize,
                       enum DATA_IMPORTANCE importance,
                       const struct UnitSystem* internal_units,
-                      const struct UnitSystem* snapshot_units,
+                      const struct UnitSystem* ic_units,
                       enum UnitConversionFactor convFactor) {
 
   hid_t h_data = 0, h_err = 0, h_type = 0;
diff --git a/src/units.c b/src/units.c
index 123725a856..361072ae80 100644
--- a/src/units.c
+++ b/src/units.c
@@ -506,7 +506,9 @@ double units_general_conversion_factor(const struct UnitSystem* from,
  *
  * @param from The #UnitSystem we are converting from
  * @param to The #UnitSystem we are converting to
- * @return unit The unit we are converting
+ * @param unit The unit we are converting
+ * 
+ * @return The conversion factor
  */
 double units_conversion_factor(const struct UnitSystem* from,
                                const struct UnitSystem* to,
-- 
GitLab