-
Notifications
You must be signed in to change notification settings - Fork 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
Set coordinates to real symbols #170
Conversation
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.
@e-moral-sanchez I suggest you add some basic tests for the TerminalExpr
function (which is constructor of the namesake class in module sympde.expr.evaluation
), and mark those which fail with @pytest.mark.xfail
.
The problem with |
Excellent. Please update the PR description... |
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 have a few comments (also to better understand the previous code)
@campospinto Do you approve this PR? |
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.
Thanks, it's clearer now!
Before merging, we should trigger the tests in Psydac |
Remove useless parentheses from assert statements. Assert is not a function in Python.
Domain coordinates in SymPDE are SymPy symbols. Here we set their attribute
real=True
to avoid problems with code generation in Psydac when working with complex expressions. Fixes #169.