Skip to content

Commit

Permalink
reverting real coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
campospinto committed Jul 24, 2024
1 parent b116110 commit dc1c676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sympde/topology/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def __new__(cls, name, dim, min_coords, max_coords):
raise ValueError("Min coordinates must be smaller than max")

coord_names = 'x1:{}'.format(dim + 1)
coordinates = symbols(coord_names, real=True)
coordinates = symbols(coord_names) # [MCP 24.07.2024] we should be able to pass real=True but requires additional testing as it breaks some calls to TerminalExpr

# Choose which type to use:
# a) if dim <= 3, use Line, Square or Cube;
Expand Down
2 changes: 1 addition & 1 deletion sympde/topology/tests/test_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from sympy import Tuple
from sympy import symbols

x1, x2, x3 = symbols('x1, x2, x3', real=True)
x1, x2, x3 = symbols('x1, x2, x3')

from sympde.topology import Interval, ProductDomain, InteriorDomain, Domain
from sympde.topology import Line, Square, Cube, NCubeInterior
Expand Down

0 comments on commit dc1c676

Please sign in to comment.