Fix beam test

This commit is contained in:
Matthew Honnibal 2017-08-19 04:15:46 +02:00
parent a7309a217d
commit 2da96a0ec7

View File

@ -63,7 +63,7 @@ def vector_size():
@pytest.fixture
def beam(moves, states, golds, beam_width):
return ParserBeam(moves, states, golds, width=beam_width)
return ParserBeam(moves, states, golds, width=beam_width, density=0.0)
@pytest.fixture
def scores(moves, batch_size, beam_width):