From 7dba81571036a04a4b24319ba36faef1957e1053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=BCmmerer?= Date: Thu, 11 Apr 2024 13:50:02 +0200 Subject: [PATCH] Bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Kümmerer --- tests/test_precomputed_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_precomputed_models.py b/tests/test_precomputed_models.py index 57b2b69..ce195ce 100644 --- a/tests/test_precomputed_models.py +++ b/tests/test_precomputed_models.py @@ -16,7 +16,7 @@ class TestSaliencyMapModel(pysaliency.SaliencyMapModel): def _saliency_map(self, stimulus): stimulus_data = pysaliency.datasets.as_stimulus(stimulus).stimulus_data if stimulus_data.ndim == 3: - return stimulus_data.mean(axis=-1).astype(float)s + return stimulus_data.mean(axis=-1).astype(float) else: return np.array(stimulus_data, dtype=float)