We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wondered why it's g in the kwargs but G in the function body?
g
G
function double_pendulum(u0=rand(4); g=10.0, L1 = 1.0, L2 = 1.0, M1 = 1.0, M2 = 1.0) ... du[2] = (M2*L1*state[2]*state[2]*sin(del_)*cos(del_) + M2*G*sin(state[3])*cos(del_) + M2*L2*state[4]*state[4]*sin(del_) - (M1 + M2)*G*sin(state[1]))/den1 ...
The text was updated successfully, but these errors were encountered:
Because I am stupid, obviously!
Do you want to submit a PR to fix it and get your name in the contributors!!!!?????? Pretty appealing, right?
If not, I will fix it tonight :D
Sorry, something went wrong.
Yes! That would be cool. :)
Fixed by #25.
No branches or pull requests
I wondered why it's
g
in the kwargs butG
in the function body?The text was updated successfully, but these errors were encountered: