Skip to content

Commit

Permalink
(Minor) Increase buffer for just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
LimHyungTae committed Jan 31, 2024
1 parent 67b512a commit f14763b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tools/kitti_loader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class KittiLoader {
if (!file) {
throw invalid_argument("Could not open the .bin file!");
}
std::vector<float> buffer(1000000);
std::vector<float> buffer(3000000);
size_t num_points = fread(reinterpret_cast<char *>(buffer.data()), sizeof(float), buffer.size(), file) / 4;
fclose(file);

Expand Down

0 comments on commit f14763b

Please sign in to comment.