X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mtp_stress_test.cc;h=590e8075551490fd47c76ef50c348cb4b4dc003e;hb=4370046158668af82bad9e18802b184cb00467b5;hp=7fa7a64c10a42f05b07caf2a698346a9326e95bd;hpb=2cb38585fe7b08e1a13dd5418d89b152a4c6037b;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; } }