Skip to content

Commit

Permalink
minor fix for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoamaduzzi committed Jun 17, 2024
1 parent 31cf9b0 commit c2aa74e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/data_analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,9 @@ std::vector<int> unique_vector(std::vector<int> classes){
else unique.push_back(c);
}
std::sort(unique.begin(),unique.end());
for(auto &u:unique){
std::cout<<"unique: "<<u<<std::endl;
}
return unique;
}

Expand Down Expand Up @@ -1752,7 +1755,6 @@ void make_multimodality(std::vector<traj_base> &traj,config &config_,std::vector
}
//ADDED ALBI ORDERING CENTERS_FCM
*/
/*
out_fcm2<< " trajectory number: "<< n <<std::endl;
for(auto &p:traj[n].p_cluster){
out_fcm2 << p << ";";
Expand All @@ -1761,7 +1763,6 @@ void make_multimodality(std::vector<traj_base> &traj,config &config_,std::vector
out_fcm2 << " velocity: " << centers_fcm[traj[n].means_class].feat_vector[0] << " class: "<< traj[n].means_class << " average speed: " << traj[n].average_inst_speed<<std::endl;
}
out_fcm2.close();
*/
for (auto &c : centers_fcm)
c.cnt = 0;
// update centers_fcm: feat vector
Expand Down

0 comments on commit c2aa74e

Please sign in to comment.