Skip to content

Commit a625b30

Browse files
committed
fixup no layers
1 parent 9ae5ac8 commit a625b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Devito.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -882,10 +882,10 @@ function TimeFunction(args...; allowpro=true, lazy=true, kwargs...)
882882
# TODO: Generate MFE and submit as issue to PyCall
883883
py"""
884884
import devitopro
885-
def serializedtimefunc(serialization, **kwargs):
885+
def serializedtimefunc(**kwargs):
886886
return devitopro.TimeFunction(layers=devitopro.types.enriched.Disk, **kwargs)
887887
"""
888-
o = py"serializedtimefunc"(serialization; Devito.reversedims(kwargs)...)
888+
o = py"serializedtimefunc"(; Devito.reversedims(kwargs)...)
889889
end
890890
else
891891
o = pycall(devito.TimeFunction, PyObject, args...; reversedims(kwargs)...)

0 commit comments

Comments
 (0)