-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernized some code, willing to work on more. #1346 #1387
Conversation
Thanks for opening this pull request! Please check out our contributing guidelines and check for the automated tests. |
Thanks. There is already a PR for constexpr M_PI #1383 but IIRC there are a few more like DEG_TO_RAD (see This commit only includes |
I'm also not sure I understand what you mean by updating loop variables. |
I guess i made some mistakes in using github, sorry as i am a little bit new to it. I will get back to this asap. |
We can use |
Here are the build results |
Hello, after taking your valuable feedback, |
Of course you can submit a new PR, thanks. |
#1346 Description:
#Used constexpr to define M_PI instead of a preprocessor macro.
#Removed #define preprocessor directive and used a more standard constexpr definition for M_PI.
#Updated loopvariables
I am also willing to change the variable types to use Eigen::Index, but i am a little unsure. I think it will ensure a better code.
I am new to opensource, and any newsuggestions would certainly be very helpful.
Thank you!