From a5fc367910dd74105855886d23b215b6ba93fe64 Mon Sep 17 00:00:00 2001 From: Dong Liu Date: Fri, 16 Feb 2024 14:41:02 -0500 Subject: [PATCH] change bool from int8 to boo --- pyulog/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyulog/core.py b/pyulog/core.py index 0b86630..57bf31a 100644 --- a/pyulog/core.py +++ b/pyulog/core.py @@ -58,7 +58,7 @@ class ULog(object): 'uint64_t': ['Q', 8, np.uint64], 'float': ['f', 4, np.float32], 'double': ['d', 8, np.float64], - 'bool': ['?', 1, np.int8], + 'bool': ['?', 1, bool], 'char': ['c', 1, np.int8] }