X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mtp_stress_test.cc;fp=mtp_stress_test.cc;h=590e8075551490fd47c76ef50c348cb4b4dc003e;hb=e777319f3c213198e574dd3cac2de1aeac6bfbbf;hp=7fa7a64c10a42f05b07caf2a698346a9326e95bd;hpb=33ee808c4048b9cb179a39c7de6aaa468d95ef2d;p=mtp.git diff --git a/mtp_stress_test.cc b/mtp_stress_test.cc index 7fa7a64..590e807 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; } }