From e755218e26614d7f836b22336f479da6bed7ae8b Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sun, 26 Aug 2012 21:29:09 +0200 Subject: [PATCH] Fix of a minor ambiguity. --- mtp_tracker.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mtp_tracker.cc b/mtp_tracker.cc index 793b672..c7c6602 100644 --- a/mtp_tracker.cc +++ b/mtp_tracker.cc @@ -104,11 +104,11 @@ void MTPTracker::write(ostream *os) { } 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++) { -- 2.39.5