Commit 91c5e6c
committed
parse zone id as string in read_demand_matrix()
- rename total_agents to total_vol and drop the problematic way to
update total_agents as total_agents += int(vol + 1), which will
always lead to positive number even there is no OD demand from
the input file.1 parent f8c1bdd commit 91c5e6c
1 file changed
+9
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
688 | | - | |
689 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
| 693 | + | |
| 694 | + | |
703 | 695 | | |
704 | 696 | | |
705 | 697 | | |
| |||
725 | 717 | | |
726 | 718 | | |
727 | 719 | | |
728 | | - | |
| 720 | + | |
729 | 721 | | |
730 | | - | |
| 722 | + | |
731 | 723 | | |
732 | | - | |
| 724 | + | |
733 | 725 | | |
734 | 726 | | |
735 | 727 | | |
| |||
0 commit comments