Skip to content

Commit

Permalink
Add check for piecewise preintegration
Browse files Browse the repository at this point in the history
  • Loading branch information
clegenti committed Nov 2, 2021
1 parent fb39692 commit a2502b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/library/src/imu_preintegration/preintegration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ namespace celib


int nb_chuncks = (int) std::ceil((last_t - start_t)/opt.quantum);
if(nb_chuncks == 0) nb_chuncks = 1;

// Create pointers for the inference times
std::vector<int> pointers(infer_t.size(),0);
Expand Down

0 comments on commit a2502b0

Please sign in to comment.