From dc1c6763bb8e9ad0b35d56975743e54f4cf2fca4 Mon Sep 17 00:00:00 2001 From: Martin Campos Pinto Date: Wed, 24 Jul 2024 13:37:45 +0200 Subject: [PATCH] reverting real coordinates --- sympde/topology/domain.py | 2 +- sympde/topology/tests/test_gallery.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sympde/topology/domain.py b/sympde/topology/domain.py index 478f43c..401cb90 100644 --- a/sympde/topology/domain.py +++ b/sympde/topology/domain.py @@ -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; diff --git a/sympde/topology/tests/test_gallery.py b/sympde/topology/tests/test_gallery.py index 5ce2778..6222c9c 100644 --- a/sympde/topology/tests/test_gallery.py +++ b/sympde/topology/tests/test_gallery.py @@ -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