Skip to content

Commit

Permalink
Fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbroscheit committed May 22, 2020
1 parent 06ec7e8 commit b474b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kge/util/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def sample(
def _sample(self, positive_triples: torch.Tensor, slot: int, num_samples: int):
"""Sample negative examples."""
raise NotImplementedError(
"The selected sampler does not support shared negative samples."
"The selected sampler is not implemented."
)

def _sample_shared(
Expand Down

0 comments on commit b474b39

Please sign in to comment.