Fix a bug where Lemma would be unserialized incorrectly.

This commit is contained in:
Romain Ruetschi
2016-11-21 23:01:20 +01:00
parent 2176200d3d
commit 3dc25ad640

View File

@ -115,7 +115,7 @@ impl LemmaProto {
Some(Positioned::Left(self.take_left_sibling_hash()))
}
else if self.has_right_sibling_hash() {
Some(Positioned::Left(self.take_right_sibling_hash()))
Some(Positioned::Right(self.take_right_sibling_hash()))
}
else {
None