Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kümmerer <[email protected]>
  • Loading branch information
matthias-k committed Apr 11, 2024
1 parent a0c8f47 commit 7dba815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_precomputed_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7dba815

Please sign in to comment.