From 2da96a0ec7bc52fe09c12ffbe7e51388963e8f84 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 19 Aug 2017 04:15:46 +0200 Subject: [PATCH] Fix beam test --- spacy/tests/parser/test_nn_beam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/parser/test_nn_beam.py b/spacy/tests/parser/test_nn_beam.py index 45c85d969..ab8bf012b 100644 --- a/spacy/tests/parser/test_nn_beam.py +++ b/spacy/tests/parser/test_nn_beam.py @@ -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):