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
Doc cleanup #311
Doc cleanup #311
Conversation
…ials. Fixed a typo in the implicit component test documentation.
@@ -32,7 +32,7 @@ Preamble | |||
:: | |||
|
|||
from __future__ import division, print_function | |||
from openmdao.core.explicitcomponent import ExplicitComponent | |||
from openmdao.api import ExplicitComponent | |||
|
|||
At the top of any script you'll see these lines (or lines very similar to these) which import needed classes and functions. On the first import line the `print_function` is used so the code in the script will work in python 2.0 or 3.0. If you want to know whats going on with the division operator, check out this `detailed explanation <https://www.python.org/dev/peps/pep-0238/>`_. The second import line brings in OpenMDAO classes that are needed to build and run a model. |
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.
I know this isn't part of your PR, but we should change python 2.0 and python 3.0 to either python 2 and python 3 or python 2.x and python 3.x.
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.
also I think Python should be capitalized ;)
@@ -32,7 +32,7 @@ Preamble | |||
:: | |||
|
|||
from __future__ import division, print_function | |||
from openmdao.core.explicitcomponent import ExplicitComponent | |||
from openmdao.api import ExplicitComponent | |||
|
|||
At the top of any script you'll see these lines (or lines very similar to these) which import needed classes and functions. On the first import line the `print_function` is used so the code in the script will work in python 2.0 or 3.0. If you want to know whats going on with the division operator, check out this `detailed explanation <https://www.python.org/dev/peps/pep-0238/>`_. The second import line brings in OpenMDAO classes that are needed to build and run a model. |
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.
also I think Python should be capitalized ;)
It's unrelated but I forgot to put BalanceComp in openmdao.api, so that's tagging along with this one. |
* changed fb and hs problems to use IPOPT * Modified yaml file to build pyoptsparse with ipopt * Fixed finite burn problem to solve with IPOPT accurately * fixed error in yaml file * added local pyoptsparse install script
Removed reference to
from openmdao.core.blah import Blah
in the tutorials. Fixed a typo in the implicit component test documentation.