From 6e11fd309d58f55b96701b52d13e69ed5bf81952 Mon Sep 17 00:00:00 2001
From: dboe <dboe@ipp.mpg.de>
Date: Tue, 28 Jun 2022 22:23:12 +0200
Subject: [PATCH] fixed small rounding error

---
 tfields/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tfields/core.py b/tfields/core.py
index f951c6a..0279719 100644
--- a/tfields/core.py
+++ b/tfields/core.py
@@ -1077,7 +1077,7 @@ class Tensors(AbstractNdarray):  # pylint: disable=too-many-public-methods
 
             >>> t_cyl.transform('cartesian')
             >>> assert t_cyl.coord_sys == 'cartesian'
-            >>> assert t_cyl[0, 0] == 3
+            >>> assert round(t_cyl[0, 0], 10) == 3
 
         """
         if self.rank == 0 or any(s == 0 for s in self.shape):
-- 
GitLab