diff --git a/data_types.py b/data_types.py
index 14a2bc8b42ad319b65af95208273b25d02833e7d..99aaae0c0827cb54f249bfdd1191f29db4fb6786 100644
--- a/data_types.py
+++ b/data_types.py
@@ -25,7 +25,7 @@ class cast_func(sp.Function):
         # lhs = bitwise_and(a, cast_func(1, 'int'))
         # rhs = cast_func(0, 'int')
         # print( sp.Ne(lhs, rhs) ) # would give true if all cast_funcs are booleans
-        # -> thus a separate class bollean_cast_func is introduced
+        # -> thus a separate class boolean_cast_func is introduced
         if isinstance(args[0], Boolean):
             cls = boolean_cast_func
         return sp.Function.__new__(cls, *args, **kwargs)
diff --git a/sympy_gmpy_bug_workaround.py b/sympy_gmpy_bug_workaround.py
index aaeaba06b7fc6b187b11625d0246cf31922b75f2..79bfc983ea4464e67a6d4f7f2ded543eb83fdfbc 100644
--- a/sympy_gmpy_bug_workaround.py
+++ b/sympy_gmpy_bug_workaround.py
@@ -8,7 +8,7 @@ try:
     import mpmath.libmp
     # In case the user has imported sympy first, then pystencils
     if mpmath.libmp.BACKEND == 'gmpy':
-        warnings.warn("You are using the gmpy backend. You might encounter an error 'argument is not an mpz sympy'."
+        warnings.warn("You are using the gmpy backend. You might encounter an error 'argument is not an mpz sympy'. "
                       "This is due to a known bug in sympy/gmpy library. "
                       "To prevent this, import pystencils first then sympy or set the environment variable "
                       "MPMATH_NOGMPY=1")