File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ class DevitoDeprecation():
6
6
7
7
@cached_property
8
8
def coeff_warn (self ):
9
- warn ("The Coefficient API is deprecated and will be removed, coefficients should"
9
+ warn ("The Coefficient API is deprecated and will be removed, coefficients should "
10
10
"be passed directly to the derivative object `u.dx(weights=...)" ,
11
11
DeprecationWarning , stacklevel = 2 )
12
12
return
13
13
14
14
@cached_property
15
15
def symbolic_warn (self ):
16
- warn ("coefficients='symbolic' is deprecated, coefficients should"
16
+ warn ("coefficients='symbolic' is deprecated, coefficients should "
17
17
"be passed directly to the derivative object `u.dx(weights=...)" ,
18
18
DeprecationWarning , stacklevel = 2 )
19
19
return
Original file line number Diff line number Diff line change @@ -393,9 +393,9 @@ def dspace(self):
393
393
# intersecting intervals with matching only dimensions
394
394
for f , v in parts .items ():
395
395
for i in v :
396
- # oobs check is not required but helps reduce
397
- # interval reconstruction
398
- if i . dim in oobs and i . dim in f . dimensions :
396
+ if i . dim in self . ispace and i . dim in f . dimensions :
397
+ # oobs check is not required but helps reduce
398
+ # interval reconstruction
399
399
ii = intervals [i .dim ].intersection (v [i .dim ])
400
400
if not ii .is_Null :
401
401
intervals = intervals .set_upper (i .dim , ii .upper )
You can’t perform that action at this time.
0 commit comments