Merge pull request #1688 from mpuels/patch-2

doc: Fix assert statement in Lightning Tour
This commit is contained in:
Ines Montani 2017-12-06 16:17:43 +00:00 committed by GitHub
commit 050a94867b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -188,7 +188,10 @@ p
pasta = doc[6]
hippo = doc[8]
assert apple.similarity(banana) > pasta.similarity(hippo)
assert apple.has_vector, banana.has_vector, pasta.has_vector, hippo.has_vector
assert apple.has_vector
assert banana.has_vector
assert pasta.has_vector
assert hippo.has_vector
p
| For the best results, you should run this example using the