[Bug Fix] fix centerpoint malloc bug (#2099)

This commit is contained in:
zengshao0622
2023-07-12 17:17:22 +08:00
committed by GitHub
parent cf1ff2077d
commit c95fc1fba8
2 changed files with 8 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ class FASTDEPLOY_DECL CenterpointPreprocessor : public ProcessorManager {
std::vector<std::shared_ptr<Processor>> processors_;
bool ReadPoint(const std::string &file_path,
const int64_t num_point_dim,
void **buffer, int64_t *num_points);
std::vector<float> &data, int64_t *num_points);
bool InsertTimeToPoints(const int64_t num_points,
const int64_t num_point_dim,
float *points);