Removed compute_dp_ranks, added compute_dp_ordering instead.
[mtp.git] / mtp_stress_test.cc
index 7fa7a64..590e807 100644 (file)
@@ -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;
     }
   }