From 7c9320cf06b6e972a55ded5cc4450bfa1e28c1ce Mon Sep 17 00:00:00 2001 From: yang Date: Tue, 10 Mar 2015 15:17:10 +0800 Subject: [PATCH] Fix RecommandPoint --- htdocs/lib/Recommand/RecommandPoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/Recommand/RecommandPoint.php b/htdocs/lib/Recommand/RecommandPoint.php index 24499fe..b796f4f 100644 --- a/htdocs/lib/Recommand/RecommandPoint.php +++ b/htdocs/lib/Recommand/RecommandPoint.php @@ -147,7 +147,7 @@ class RecommandPoint if($nextPoint->isFullPeople()) { $pastCost = 0; - $virtualCost = RecommandPoint::ALPHA * $this->gamma * ($wright/$nextPoint->getLearnTime()); + $virtualCost = RecommandPoint::ALPHA * $this->gamma * ($weight/$nextPoint->getLearnTime()); $isEntity=false; } else