Skip to content

Commit

Permalink
Merge pull request #285 from mscroggs/GREEN
Browse files Browse the repository at this point in the history
Remove import of GREEN from ufl.log
  • Loading branch information
wence- authored Jan 9, 2023
2 parents ceebdd5 + 6e5b314 commit b6da9e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsfc/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from ufl.algorithms import extract_arguments, extract_coefficients
from ufl.algorithms.analysis import has_type
from ufl.classes import Form, GeometricQuantity
from ufl.log import GREEN

import gem
import gem.impero_utils as impero_utils
Expand Down Expand Up @@ -61,6 +60,8 @@ def compile_form(form, prefix="form", parameters=None, interface=None, coffee=Tr

assert isinstance(form, Form)

GREEN = "\033[1;37;32m%s\033[0m"

# Determine whether in complex mode:
complex_mode = parameters and is_complex(parameters.get("scalar_type"))
fd = ufl_utils.compute_form_data(form, complex_mode=complex_mode)
Expand Down

0 comments on commit b6da9e0

Please sign in to comment.