Skip to content

Commit

Permalink
Increment index to step to the other flag.
Browse files Browse the repository at this point in the history
Fix small typo.
  • Loading branch information
s-trinh committed Aug 11, 2024
1 parent f45d5c2 commit da77347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/PlotCameraTrajectory.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Copyright 2022- ViSP contributor
# Copyright 2022 ViSP contributor
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ int main(int argc, char **argv)
}
else if ((std::string(argv[i]) == "--save" || std::string(argv[i]) == "-o") && i+1 < argc) {
npz_filename = argv[i+1];
i++;
}
else if (std::string(argv[i]) == "--color" || std::string(argv[i]) == "-c") {
color_mode = true;
}
else if (std::string(argv[i]) == "--alpha" || std::string(argv[i]) == "-a") {
save_alpha = true;
}
else if (std::string(argv[i]) == "--print-cMo" && i+1 < argc) {
else if (std::string(argv[i]) == "--print-cMo") {
print_cMo = true;
}
else {
Expand Down

0 comments on commit da77347

Please sign in to comment.