summaryrefslogtreecommitdiff
path: root/src/lib/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math')
-rw-r--r--src/lib/math/prob_distr.c2
-rw-r--r--src/lib/math/stats.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/prob_distr.c b/src/lib/math/prob_distr.c
index a57fc1020c..9e60b9f37a 100644
--- a/src/lib/math/prob_distr.c
+++ b/src/lib/math/prob_distr.c
@@ -54,7 +54,7 @@
#ifndef COCCI
/** Declare a function that downcasts from a generic dist struct to the actual
- * subtype probablity distribution it represents. */
+ * subtype probability distribution it represents. */
#define DECLARE_PROB_DISTR_DOWNCAST_FN(name) \
static inline \
const struct name##_t * \
diff --git a/src/lib/math/stats.h b/src/lib/math/stats.h
index 14315a2506..7acc6fa43d 100644
--- a/src/lib/math/stats.h
+++ b/src/lib/math/stats.h
@@ -25,7 +25,7 @@ n_count_ewma_double(double avg, double value, uint64_t N)
/* If the average was not previously computed, return value.
* The less than is because we have stupid C warning flags that
* prevent exact comparison to 0.0, so we can't do an exact
- * check for unitialized double values. Yay pedantry!
+ * check for uninitialized double values. Yay pedantry!
* Love it when it introduces surprising edge case bugs like
* this will. */
if (avg < 0.0000002)