8000 Fix a bug in class RE21 by ajnebro · Pull Request #3 · ryojitanabe/reproblems · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix a bug in class RE21 #3

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

Merged
merged 1 commit into from
Oct 1, 2020
Merged

Conversation

ajnebro
Copy link
Contributor
@ajnebro ajnebro commented Oct 1, 2020

The term (2.0 / x2) in the second objective function should be (2.0 / x1)

f[1] = ((F * L) / E) * ((2.0 / x2) + (2.0 * Math.sqrt(2.0) / x2) - (2.0 * Math.sqrt(2.0) / x3) + (2.0 / x4));

@ryojitanabe ryojitanabe merged commit ea93e72 into ryojitanabe:master Oct 1, 2020
@ryojitanabe
Copy link
Owner

Thank you for pointing out the bug in RE21 and fixing it. You are right. 2.0 / x2 should be 2.0 / x1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0