diff --git a/src/laserMapping.cpp b/src/laserMapping.cpp index 319b4a0..0119ebb 100644 --- a/src/laserMapping.cpp +++ b/src/laserMapping.cpp @@ -699,7 +699,7 @@ void h_share_model_photometric(state_ikfom &s, esekfom::dyn_share_datastruct term_selected(n_features * n_patch, false); + std::vector term_selected(n_features * n_patch, false); #ifdef MP_EN omp_set_num_threads(MP_PROC_NUM);