From 649e82b45ee8287ad6f8a1c7379fe2b4c3938358 Mon Sep 17 00:00:00 2001
From: Martin Bauer <martin.bauer@fau.de>
Date: Wed, 9 Jan 2019 09:55:54 +0100
Subject: [PATCH] Typo fixes

---
 data_types.py                | 2 +-
 sympy_gmpy_bug_workaround.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data_types.py b/data_types.py
index 14a2bc8b4..99aaae0c0 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 aaeaba06b..79bfc983e 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")
-- 
GitLab