X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=mtp_stress_test.cc;h=68af56168251d6af54ab87052964d917c534aabc;hp=7fa7a64c10a42f05b07caf2a698346a9326e95bd;hb=115051461c429783c8c0a38ade99538b7891a7c4;hpb=2cb38585fe7b08e1a13dd5418d89b152a4c6037b diff --git a/mtp_stress_test.cc b/mtp_stress_test.cc index 7fa7a64..68af561 100644 --- a/mtp_stress_test.cc +++ b/mtp_stress_test.cc @@ -57,7 +57,7 @@ int main(int argc, char **argv) { for(int t = 0; t < nb_time_steps; t++) { for(int l = 0; l < nb_locations; l++) { - tracker->detection_scores[t][l] = drand48() - 0.95; + tracker->detection_scores[t][l] = scalar_t(drand48()) - 0.95f; } } @@ -73,7 +73,7 @@ int main(int argc, char **argv) { << " starting at " << tracker->trajectory_entrance_time(t) << ", duration " << tracker->trajectory_duration(t) << ", score " << tracker->trajectory_score(t) - << ", through nodes "; + << ", through locations"; for(int u = 0; u < tracker->trajectory_duration(t); u++) { cout << " " << tracker->trajectory_location(t, u); }