mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-10-01 03:43:51 +08:00
add space after function name and if statement (#21225)
old-commit-hash: e4e669bb0f
This commit is contained in:
@@ -5,7 +5,7 @@ extern "C" {
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, const char* argv[]){
|
||||
int main(int argc, const char* argv[]) {
|
||||
const int n = 11;
|
||||
const int m = 3;
|
||||
double* pts = new double[n*m]{59.26000137, -9.35999966, -5.42500019,
|
||||
@@ -25,7 +25,7 @@ int main(int argc, const char* argv[]){
|
||||
|
||||
cluster_points_centroid(n, m, pts, 2.5 * 2.5, idx);
|
||||
|
||||
for (int i = 0; i < n; i++){
|
||||
for (int i = 0; i < n; i++) {
|
||||
assert(idx[i] == correct_idx[i]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user