Skip to content
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

Make automatic variable imports in EquationWriter optional. #101

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove whitespace in docstring
schymans committed Jul 7, 2021
commit 3ff84e9f00318aee1803506895d4a2af120151fd
2 changes: 1 addition & 1 deletion essm/_generator.py
Original file line number Diff line number Diff line change
@@ -385,7 +385,7 @@ def neweq(self, name, expr, doc='', parents=None, variables=None,
def eq(self, eq1, autovars=1):
"""
Add pre-defined equation to writer, incl. any variables.

If you wish to suppress import of external variables,
pass autovars=0.