File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11
11
# Modified by Marie E. Rognes, 2010.
12
12
# Modified by Jørgen S. Dokken, 2025.
13
13
14
+ import logging
14
15
import warnings
15
- from logging import debug
16
16
17
17
from ufl .algebra import Conj
18
18
from ufl .algorithms .formsplitter import extract_blocks
28
28
# All classes:
29
29
from ufl .core .expr import ufl_err_str
30
30
31
+ logger = logging .getLogger ("ufl" )
32
+
31
33
32
34
# FIXME: Don't use this below, it makes partextracter more expensive than necessary
33
35
def _expr_has_terminal_types (expr , ufl_types ):
@@ -445,7 +447,7 @@ def compute_form_action(form, coefficient):
445
447
if coefficient is None :
446
448
coefficient = Coefficient (fs )
447
449
elif coefficient .ufl_function_space () != fs :
448
- debug ("Computing action of form on a coefficient in a different function space." )
450
+ logger . debug ("Computing action of form on a coefficient in a different function space." )
449
451
return replace (form , {u : coefficient })
450
452
451
453
You can’t perform that action at this time.
0 commit comments