-
Notifications
You must be signed in to change notification settings - Fork 288
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
Spatial tensor bottom left block is missing a negative sign #1257
Comments
Note that negating a skewsymmetric matrix is identical to transpose it so I'm curious how it makes |
Here is the function that I am running:
Here is the warning: And here is the output spatial tensor: 0.0687108 -0.0003891 -0.0006485 0 -0.06485 0.03891 |
Thank you for sharing the code. The spatial tensor looks correct, but not the verification code. Let me fix it. |
Thanks for sorting this out. |
Bug Report
Environment
Expected Behavior
The computeSpatialTensor() is missing a negative sign here
This makes verifySpatialTensor() fail. Is there some reason for not having the negative sign?
Shouldn't the line be:
mSpatialTensor.block<3,3>(3,0) = -mMass*C.transpose();
The text was updated successfully, but these errors were encountered: