small fix

This commit is contained in:
Shuo Feng 2024-03-21 16:44:36 -04:00
parent c60e4da292
commit e0ea221137
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
3 changed files with 16 additions and 9 deletions

View file

@ -18,9 +18,8 @@ const Vector3f getVector3f(const nlohmann::json &j) {
const VectorXi getRpp(const nlohmann::json &j) {
VectorXi rpp(j.size());
for (int i = 0; i < j.size(); ++i) {
for (int i = 0; i < j.size(); ++i)
rpp[i] = j[i].get<int>();
}
return rpp;
}