From 07559d1795d815150c5cb42d765a94e37def78c2 Mon Sep 17 00:00:00 2001 From: chaoming Date: Tue, 9 Jan 2024 12:07:20 +0800 Subject: [PATCH] fix bug --- brainpy/_src/math/tests/test_einops.py | 1 - 1 file changed, 1 deletion(-) diff --git a/brainpy/_src/math/tests/test_einops.py b/brainpy/_src/math/tests/test_einops.py index e6738009..2f018d97 100644 --- a/brainpy/_src/math/tests/test_einops.py +++ b/brainpy/_src/math/tests/test_einops.py @@ -77,7 +77,6 @@ def test_rearrange_consistency_numpy(): ]: result = ein_rearrange(x, pattern) assert len(numpy.setdiff1d(x, result)) == 0 - assert result.dtype == x.dtype result = ein_rearrange(x, "a b c d e f -> a (b) (c d e) f") assert numpy.array_equal(x.flatten(), result.flatten())