Skip to content

Commit

Permalink
removes transpose and adds correct matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Trybnetic committed Apr 19, 2017
1 parent 98f0301 commit acd6b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_activation_matrix():
(['c1', 'c3'], []),
(['c2'], []),
(['c1', 'c1'], [])]
reference_activations = np.array([[1, 1], [0, 1], [1, 0], [0, 1]]).T
reference_activations = np.array([[1, 0, 1, 0], [1, 1, 0, 1]])

with pytest.raises(ValueError):
activations = activation(events, weights, number_of_threads=1)
Expand All @@ -70,7 +70,7 @@ def test_ignore_missing_cues():
(['c1', 'c3'], []),
(['c2', 'c4'], []),
(['c1', 'c1'], [])]
reference_activations = np.array([[1, 1], [0, 1], [1, 0], [0, 1]]).T
reference_activations = np.array([[1, 0, 1, 0], [1, 1, 0, 1]])

with pytest.raises(KeyError):
activations = activation(events, weights, number_of_threads=1,
Expand Down

0 comments on commit acd6b93

Please sign in to comment.