forked from science-ation/science-ation
- fix copy/paste error in the tour annealer
This commit is contained in:
parent
c639892f3b
commit
6a766ac59d
@ -144,7 +144,7 @@ function tour_cost_function($annealer, $bucket_id, $ids)
|
||||
|
||||
/* Check for student below/above grade range */
|
||||
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 */
|
||||
$schools[$s['schools_id']]++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user