Skip to content

Commit

Permalink
fixed a bug in fresno specific auto ownership model. Issue #318.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsdhakar committed Jul 19, 2024
1 parent 5bc0dd8 commit 95c4a3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ protected override void RegionSpecificCustomizations(ChoiceProbabilityCalculator
int homedist_clovis = (homedist = 5 || homedist = 6 || homedist = 8) ? 1 : 0; //clovis area is dist =5,6,8

//clovis specific constants
if (homedist_clovis = 1)
if (homedist_clovis == 1)
{
alternative.AddUtilityTerm(101 + alternative.Id, household.Has1Driver.ToFlag()); //101,102 (not used),103,104,105
alternative.AddUtilityTerm(106 + alternative.Id, household.Has2Drivers.ToFlag()); //106,107,108 (not used),109,110
Expand Down

0 comments on commit 95c4a3b

Please sign in to comment.