From f0a45e749331dc54038c134e2da9300bd99c6761 Mon Sep 17 00:00:00 2001 From: Deimos Date: Thu, 27 Sep 2018 20:52:21 -0600 Subject: [PATCH] Remove rounding for Exemplary comments' relevance --- tildes/tildes/models/comment/comment_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tildes/tildes/models/comment/comment_tree.py b/tildes/tildes/models/comment/comment_tree.py index 7e8d98a..5af0930 100644 --- a/tildes/tildes/models/comment/comment_tree.py +++ b/tildes/tildes/models/comment/comment_tree.py @@ -295,6 +295,6 @@ class CommentInTree(ObjectProxy): # and multiply the vote count by that. For example, weight 1.0 = votes doubled. if self.is_label_active("exemplary"): multiplier = self.label_weights["exemplary"] + 1.0 - return (round(multiplier * self.num_votes),) + return (multiplier * self.num_votes,) return (self.num_votes,)