}
void MTPTracker::read(istream *is) {
- int nb_locations, nb_time_steps;
+ int l, t;
- (*is) >> nb_locations >> nb_time_steps;
+ (*is) >> l >> t;
- allocate(nb_time_steps, nb_locations);
+ allocate(t, l);
for(int l = 0; l < nb_locations; l++) {
for(int m = 0; m < nb_locations; m++) {