- fix copy/paste error in the tour annealer

This commit is contained in:
dave 2008-02-12 01:11:21 +00:00
parent c639892f3b
commit 6a766ac59d

View File

@ -144,7 +144,7 @@ function tour_cost_function($annealer, $bucket_id, $ids)
/* Check for student below/above grade range */ /* Check for student below/above grade range */
if($s['grade'] < $t['grade_min']) $cost += 15; if($s['grade'] < $t['grade_min']) $cost += 15;
if($s['grade'] > $t['grade_min']) $cost += 25; if($s['grade'] > $t['grade_max']) $cost += 25;
/* Record the school */ /* Record the school */
$schools[$s['schools_id']]++; $schools[$s['schools_id']]++;