From: Francois Fleuret Date: Sun, 26 Aug 2012 19:29:09 +0000 (+0200) Subject: Fix of a minor ambiguity. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=commitdiff_plain;h=e755218e26614d7f836b22336f479da6bed7ae8b Fix of a minor ambiguity. --- 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++) {