-
Notifications
You must be signed in to change notification settings - Fork 35
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
fix simulator type error on macOS #32
fix simulator type error on macOS #32
Conversation
using RefMatrixXd = Matrix <double, 2, Dynamic>; | ||
#else | ||
using RefMatrixXd = Ref <MatrixXd>; | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is switching types here. Although I was not able to determine the correct way to fix it, I was able to confirm that it is possible to build in this state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit jank but I think this solution is better than the alternative of broken code.
using RefMatrixXd = Matrix <double, 2, Dynamic>; | ||
#else | ||
using RefMatrixXd = Ref <MatrixXd>; | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit jank but I think this solution is better than the alternative of broken code.
requirements.txt
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update environment.yml accordingly!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for your review, and update environment.yml ecf8b19
This pull request will be merged after the CI passes. |
When building the simulator on macOS, the build fails due to a type error. However, this does not happen on Ubuntu.
To work around this issue, I modified the type declarations used for macOS according to the compiler output.
The contents of the error are as follows. Occurs while running
python setup.py install
.this pull request includes #30 commits (for passing ci tests)